Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.703/2.703, allocations: 390.9 MB / 0.666 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.000377, allocations: 8 kB / 0.8154 GB, free: 13.57 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9632/0.9636, allocations: 142.4 MB / 0.9544 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001147/0.9648, allocations: 0.6609 MB / 0.9551 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.9664, allocations: 1.253 MB / 0.9563 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.016e-05/0.9665, allocations: 9.125 kB / 0.9563 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.9666, allocations: 5.281 kB / 0.9563 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.668e-05/0.9667, allocations: 31.08 kB / 0.9564 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006719/0.9674, allocations: 216.8 kB / 0.9566 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.9677, allocations: 270.5 kB / 0.9568 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.9679, allocations: 40.45 kB / 0.9569 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.968, allocations: 98.38 kB / 0.957 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.9682, allocations: 84.47 kB / 0.957 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.9682, allocations: 17 kB / 0.9571 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.648e-05/0.9683, allocations: 28.83 kB / 0.9571 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/0.9684, allocations: 25.72 kB / 0.9571 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.894e-05/0.9685, allocations: 61.17 kB / 0.9572 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.9687, allocations: 246.6 kB / 0.9574 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.9687, allocations: 0 / 0.9574 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9687, allocations: 0 / 0.9574 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.9687, allocations: 0 / 0.9574 GB, free: 5.402 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007374/0.9694, allocations: 0.5396 MB / 0.9579 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.9695, allocations: 10.19 kB / 0.9579 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.625e-05/0.9696, allocations: 27.61 kB / 0.958 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.9699, allocations: 258.3 kB / 0.9582 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.9699, allocations: 11.3 kB / 0.9582 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.97, allocations: 20.72 kB / 0.9582 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.9704, allocations: 189.5 kB / 0.9584 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.9704, allocations: 3.984 kB / 0.9584 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.9704, allocations: 5.375 kB / 0.9584 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.9704, allocations: 2.75 kB / 0.9584 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004421/0.9709, allocations: 162.8 kB / 0.9586 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009236/0.9718, allocations: 0.9021 MB / 0.9595 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.9721, allocations: 178.8 kB / 0.9596 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.9723, allocations: 106.4 kB / 0.9597 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.9724, allocations: 1.156 kB / 0.9597 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003998/0.9728, allocations: 197.8 kB / 0.9599 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.9728, allocations: 0 / 0.9599 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0008774/0.9737, allocations: 328.4 kB / 0.9602 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.9737, allocations: 164.9 kB / 0.9604 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.9739, allocations: 203.4 kB / 0.9606 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.974, allocations: 33.92 kB / 0.9606 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.228e-05/0.9741, allocations: 135.2 kB / 0.9608 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.9741, allocations: 31.72 kB / 0.9608 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.9741, allocations: 8.125 kB / 0.9608 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.577e-05/0.9742, allocations: 323 kB / 0.9611 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.9745, allocations: 135.2 kB / 0.9612 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/0.9749, allocations: 191.4 kB / 0.9614 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.9753, allocations: 196.8 kB / 0.9616 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.9753, allocations: 1.125 kB / 0.9616 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008659/0.9761, allocations: 441 kB / 0.962 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.455e-05/0.9762, allocations: 72.17 kB / 0.9621 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.9762, allocations: 1.312 kB / 0.9621 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.9762, allocations: 7.5 kB / 0.9621 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.9764, allocations: 38.44 kB / 0.9621 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.9764, allocations: 10.61 kB / 0.9621 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/0.9769, allocations: 108.2 kB / 0.9623 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.9769, allocations: 18.31 kB / 0.9623 GB, free: 1.414 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.pul1.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.9771, allocations: 134.3 kB / 0.9624 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.9771, allocations: 19.38 kB / 0.9624 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.9771, allocations: 22.86 kB / 0.9624 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.9772, allocations: 2.188 kB / 0.9624 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.9772, allocations: 2.25 kB / 0.9624 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.413e-06/0.9772, allocations: 5.078 kB / 0.9624 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.9774, allocations: 245.9 kB / 0.9627 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.9774, allocations: 5 kB / 0.9627 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.9776, allocations: 37.03 kB / 0.9627 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.9776, allocations: 5.297 kB / 0.9627 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.9776, allocations: 2.969 kB / 0.9627 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.9776, allocations: 1.969 kB / 0.9627 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.9776, allocations: 5.266 kB / 0.9627 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000576/0.9782, allocations: 295.7 kB / 0.963 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.9782, allocations: 98.31 kB / 0.9631 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.9783, allocations: 2.156 kB / 0.9631 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.9784, allocations: 30.91 kB / 0.9631 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.9785, allocations: 13.33 kB / 0.9632 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.9785, allocations: 13.52 kB / 0.9632 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001106/0.9786, allocations: 147.9 kB / 0.9633 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9786, allocations: 0 / 0.9633 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002907/0.9789, allocations: 44.09 kB / 0.9634 GB, free: 0.5391 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001822/0.9791, allocations: 108.3 kB / 0.9635 GB, free: 456 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007648/0.9799, allocations: 405.6 kB / 0.9638 GB, free: 192 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9799, allocations: 1.25 kB / 0.9638 GB, free: 192 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.9802, allocations: 112.8 kB / 0.9639 GB, free: 144 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.9805, allocations: 44.2 kB / 0.964 GB, free: 120 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006318/0.9812, allocations: 363.9 kB / 0.9643 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.9815, allocations: 0.7268 MB / 0.965 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.665e-05/0.9815, allocations: 27.12 kB / 0.9651 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.9816, allocations: 15.47 kB / 0.9651 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/0.9816, allocations: 0 / 0.9651 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.006341/0.9879, allocations: 2.785 MB / 0.9678 GB, free: 13.68 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches