Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.001311/0.001311, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001756/0.001756, allocations: 210.1 kB / 22.99 MB, free: 4.98 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.563/1.563, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.366/3.366, allocations: 0.49 GB / 0.7959 GB, free: 35.36 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.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [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.002105/0.002105, allocations: 67.42 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.401, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002057/0.4031, allocations: 0.6978 MB / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0019/0.405, allocations: 1.276 MB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.955e-05/0.4051, allocations: 0 / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.4052, allocations: 11.88 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.308e-05/0.4052, allocations: 19.84 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007422/0.406, allocations: 245.6 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.4063, allocations: 247.6 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.4064, allocations: 23.98 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.4066, allocations: 111.7 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.4068, allocations: 75.78 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.875e-05/0.4068, allocations: 20 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.4069, allocations: 39.97 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.4071, allocations: 35.91 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.4072, allocations: 75.7 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.4075, allocations: 235.1 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4075, allocations: 4 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.023e-06/0.4075, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.4075, allocations: 0 / 1.33 GB, free: 13.91 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007717/0.4083, allocations: 437.1 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.4083, allocations: 8.031 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003552/0.4087, allocations: 52.8 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/0.4092, allocations: 198.4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.4093, allocations: 12.38 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/0.4093, allocations: 20.38 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.4095, allocations: 127.3 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4095, allocations: 7.875 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.4096, allocations: 8 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4096, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.087e-05/0.4096, allocations: 51.91 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006721/0.4103, allocations: 0.571 MB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.793e-05/0.4104, allocations: 41.2 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.787e-05/0.4104, allocations: 21.66 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.4104, allocations: 0 / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.4106, allocations: 93.03 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.4106, allocations: 4 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0002559/0.4109, allocations: 109.5 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.4109, allocations: 77.11 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.4111, allocations: 172.5 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.4112, allocations: 37.7 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.4113, allocations: 123.9 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/0.4113, allocations: 7.953 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.4114, allocations: 61.67 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002126/0.4116, allocations: 326.8 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.4118, allocations: 115.3 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.412, allocations: 231.3 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.4123, allocations: 182.1 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4123, allocations: 0 / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005062/0.4128, allocations: 336.6 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.39e-05/0.4128, allocations: 68.91 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4128, allocations: 0 / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.4129, allocations: 7.938 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.202e-05/0.4129, allocations: 7.984 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.4129, allocations: 7.984 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/0.4133, allocations: 52.19 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.4133, allocations: 12 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0001579/0.4134, allocations: 150.2 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.4135, allocations: 15.84 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.4135, allocations: 12.34 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4135, allocations: 0 / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4135, allocations: 4 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4135, allocations: 0 / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.4137, allocations: 145.3 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4137, allocations: 0 / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.284e-06/0.4137, allocations: 0 / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4137, allocations: 96 / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.4137, allocations: 11.88 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4137, allocations: 3.984 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4137, allocations: 3.938 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.4139, allocations: 113.9 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.4139, allocations: 15.89 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.4139, allocations: 3.938 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.453e-05/0.4139, allocations: 4 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.414, allocations: 11.98 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.414, allocations: 4 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001012/0.4141, allocations: 121 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4141, allocations: 0 / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002651/0.4143, allocations: 28 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001541/0.4145, allocations: 115.1 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004064/0.4149, allocations: 266.5 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4149, allocations: 0 / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.519e-05/0.415, allocations: 24.05 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.4152, allocations: 19.98 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.4157, allocations: 248.1 kB / 1.335 GB, free: 8.57 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.4158, allocations: 93.77 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.96e-05/0.4158, allocations: 16.97 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.4158, allocations: 15.44 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4158, allocations: 0 / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of Templates: time 0.005746/0.4216, allocations: 2.176 MB / 1.337 GB, free: 6.293 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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: 9.503127991003566]