Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 219.1 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.187/3.187, allocations: 0.4892 GB / 0.7951 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 78.42 kB / 1.154 GB, free: 25.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.339, allocations: 176.1 MB / 1.326 GB, free: 1.738 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002664/0.3416, allocations: 1.245 MB / 1.328 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00223/0.3439, allocations: 1.564 MB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.344, allocations: 7.938 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.3441, allocations: 35.55 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.3443, allocations: 75.44 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.3454, allocations: 0.4919 MB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000714/0.3461, allocations: 0.6482 MB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.3464, allocations: 105.3 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.3467, allocations: 263.3 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003077/0.347, allocations: 219.2 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.3471, allocations: 64 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.3472, allocations: 83.92 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.483e-05/0.3473, allocations: 75.77 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002483/0.3476, allocations: 219.1 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008661/0.3484, allocations: 0.6851 MB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3485, allocations: 4 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3485, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.3485, allocations: 3.938 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001352/0.3498, allocations: 0.8851 MB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.3498, allocations: 8.031 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.35, allocations: 52.64 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.3513, allocations: 405.5 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/0.3513, allocations: 28.86 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.947e-05/0.3514, allocations: 40.38 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007502/0.3521, allocations: 453 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.3521, allocations: 3.938 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-05/0.3522, allocations: 15.98 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.3522, allocations: 4 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007286/0.3529, allocations: 386.3 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.3545, allocations: 0.7399 MB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007427/0.3553, allocations: 488.8 kB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005945/0.3559, allocations: 402.4 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.3559, allocations: 7.938 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006896/0.3566, allocations: 456.2 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 2.244e-06/0.3566, allocations: 0 / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.001813/0.3584, allocations: 1.104 MB / 1.337 GB, free: 6.117 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.3585, allocations: 191.9 kB / 1.337 GB, free: 5.887 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.3589, allocations: 272.5 kB / 1.338 GB, free: 5.609 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.787e-05/0.3589, allocations: 53.69 kB / 1.338 GB, free: 5.551 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.3591, allocations: 164.9 kB / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.3592, allocations: 138.9 kB / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/0.3595, allocations: 130.1 kB / 1.338 GB, free: 5.117 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002525/0.3597, allocations: 346.8 kB / 1.338 GB, free: 4.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008279/0.3606, allocations: 0.5235 MB / 1.339 GB, free: 4.191 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000939/0.3615, allocations: 0.6101 MB / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.3628, allocations: 0.9167 MB / 1.34 GB, free: 2.457 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.3628, allocations: 0 / 1.34 GB, free: 2.457 MB / 1.029 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001886/0.3647, allocations: 1.274 MB / 1.342 GB, free: 1.066 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001832/0.3648, allocations: 263.2 kB / 1.342 GB, free: 0.7539 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.3649, allocations: 7.984 kB / 1.342 GB, free: 0.7461 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.3649, allocations: 4 kB / 1.342 GB, free: 0.7422 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.3651, allocations: 63.89 kB / 1.342 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.3652, allocations: 7.938 kB / 1.342 GB, free: 0.6719 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006945/0.3658, allocations: 139.8 kB / 1.342 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.366, allocations: 67.92 kB / 1.342 GB, free: 480 kB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000311/0.3663, allocations: 326.6 kB / 1.343 GB, free: 112 kB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.595e-05/0.3663, allocations: 43.7 kB / 1.343 GB, free: 68 kB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.559e-05/0.3664, allocations: 35.42 kB / 1.343 GB, free: 28 kB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.3664, allocations: 11.88 kB / 1.343 GB, free: 16 kB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.3664, allocations: 4 kB / 1.343 GB, free: 12 kB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.3664, allocations: 7.969 kB / 1.343 GB, free: 4 kB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.3683, allocations: 1.212 MB / 1.344 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.3684, allocations: 3.984 kB / 1.344 GB, free: 14.69 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.3686, allocations: 71.89 kB / 1.344 GB, free: 14.62 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3686, allocations: 0 / 1.344 GB, free: 14.62 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.3686, allocations: 12 kB / 1.344 GB, free: 14.61 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3686, allocations: 0 / 1.344 GB, free: 14.61 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3686, allocations: 0 / 1.344 GB, free: 14.61 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.3699, allocations: 0.8957 MB / 1.345 GB, free: 13.64 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.3699, allocations: 43.7 kB / 1.345 GB, free: 13.59 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.577e-05/0.37, allocations: 8 kB / 1.345 GB, free: 13.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.3702, allocations: 27.97 kB / 1.345 GB, free: 13.56 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.736e-05/0.3703, allocations: 39.94 kB / 1.345 GB, free: 13.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.006e-05/0.3703, allocations: 51.88 kB / 1.345 GB, free: 13.47 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001977/0.3705, allocations: 195 kB / 1.345 GB, free: 13.28 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3705, allocations: 0 / 1.345 GB, free: 13.28 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004276/0.371, allocations: 111.9 kB / 1.345 GB, free: 13.17 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001831/0.3711, allocations: 119.9 kB / 1.345 GB, free: 13.04 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001878/0.373, allocations: 1.434 MB / 1.347 GB, free: 11.41 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.373, allocations: 4.188 kB / 1.347 GB, free: 11.41 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000751/0.3738, allocations: 0.6262 MB / 1.347 GB, free: 10.69 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005476/0.3743, allocations: 84.47 kB / 1.347 GB, free: 10.61 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.3758, allocations: 0.9637 MB / 1.348 GB, free: 9.582 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.376, allocations: 192.3 kB / 1.349 GB, free: 9.367 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.3761, allocations: 31.44 kB / 1.349 GB, free: 9.336 MB / 1.045 GB Notification: Performance of SimCode: time 4.71e-07/0.3761, allocations: 0 / 1.349 GB, free: 9.336 MB / 1.045 GB Notification: Performance of Templates: time 0.009039/0.3851, allocations: 5.707 MB / 1.354 GB, free: 3.672 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.835558214690536]