Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000967/0.0009672, allocations: 92.39 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.000935/0.0009351, 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.439/1.439, allocations: 223.3 MB / 240 MB, free: 5.422 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.517/2.517, allocations: 390.9 MB / 0.666 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003642, allocations: 12 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8687/0.8691, allocations: 142.4 MB / 0.9544 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.0008466/0.87, allocations: 432 kB / 0.9549 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.8714, allocations: 1.22 MB / 0.956 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.8714, allocations: 1.031 kB / 0.956 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.792e-05/0.8715, allocations: 13.08 kB / 0.9561 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.043e-05/0.8716, allocations: 14.23 kB / 0.9561 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000658/0.8722, allocations: 207.2 kB / 0.9563 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.8724, allocations: 196.1 kB / 0.9565 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.8726, allocations: 30.42 kB / 0.9565 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.8727, allocations: 90.05 kB / 0.9566 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.873, allocations: 88.39 kB / 0.9567 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.873, allocations: 12.41 kB / 0.9567 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.307e-05/0.8731, allocations: 27.8 kB / 0.9567 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.703e-05/0.8731, allocations: 24.86 kB / 0.9567 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/0.8732, allocations: 46.73 kB / 0.9568 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.8734, allocations: 161.8 kB / 0.9569 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.8734, allocations: 0 / 0.9569 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.735e-06/0.8734, allocations: 1.062 kB / 0.9569 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.8734, allocations: 0 / 0.9569 GB, free: 5.871 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004003/0.8738, allocations: 464.7 kB / 0.9574 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.8738, allocations: 9.094 kB / 0.9574 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.406e-05/0.8739, allocations: 26.83 kB / 0.9574 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005137/0.8744, allocations: 256.2 kB / 0.9576 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.8745, allocations: 14.2 kB / 0.9577 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.8745, allocations: 13.38 kB / 0.9577 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.8747, allocations: 130.3 kB / 0.9578 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.8747, allocations: 7.984 kB / 0.9578 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.8747, allocations: 9.844 kB / 0.9578 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.8747, allocations: 1.75 kB / 0.9578 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.888e-05/0.8748, allocations: 49.06 kB / 0.9579 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.8753, allocations: 0.6698 MB / 0.9585 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.08e-05/0.8754, allocations: 38.59 kB / 0.9585 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.8754, allocations: 21.8 kB / 0.9586 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.8755, allocations: 3.984 kB / 0.9586 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.8756, allocations: 93.66 kB / 0.9587 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.8756, allocations: 0 / 0.9587 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002391/0.8758, allocations: 99.17 kB / 0.9588 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.8759, allocations: 80.2 kB / 0.9588 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.8761, allocations: 168.6 kB / 0.959 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.8761, allocations: 33.86 kB / 0.959 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/0.8762, allocations: 122.7 kB / 0.9591 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.8762, allocations: 17.92 kB / 0.9592 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/0.8762, allocations: 3.969 kB / 0.9592 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.094e-05/0.8763, allocations: 321.4 kB / 0.9595 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.8764, allocations: 52.19 kB / 0.9595 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.8766, allocations: 102.4 kB / 0.9596 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.8767, allocations: 113.5 kB / 0.9597 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.8767, allocations: 1.031 kB / 0.9597 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004082/0.8771, allocations: 263.1 kB / 0.96 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.631e-05/0.8772, allocations: 72.39 kB / 0.96 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.8772, allocations: 1.5 kB / 0.96 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.8772, allocations: 2.688 kB / 0.96 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.894e-05/0.8772, allocations: 6.812 kB / 0.9601 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.8773, allocations: 7.328 kB / 0.9601 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.8776, allocations: 73.23 kB / 0.9601 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.8776, allocations: 18.55 kB / 0.9601 GB, free: 2.863 MB / 0.7169 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 ($PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$PRE.booPul1.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.8777, allocations: 137.9 kB / 0.9603 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/0.8778, allocations: 12.7 kB / 0.9603 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.8778, allocations: 24.2 kB / 0.9603 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.8778, allocations: 1 kB / 0.9603 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.8778, allocations: 1.344 kB / 0.9603 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.8778, allocations: 0 / 0.9603 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.878, allocations: 199.5 kB / 0.9605 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.878, allocations: 1.375 kB / 0.9605 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.316e-06/0.878, allocations: 1.375 kB / 0.9605 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.878, allocations: 5.359 kB / 0.9605 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.878, allocations: 5.328 kB / 0.9605 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.878, allocations: 0 / 0.9605 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.8781, allocations: 9.359 kB / 0.9605 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.8782, allocations: 114.9 kB / 0.9606 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.8782, allocations: 91.66 kB / 0.9607 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.8783, allocations: 1.375 kB / 0.9607 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.215e-05/0.8783, allocations: 5.328 kB / 0.9607 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.8783, allocations: 2.75 kB / 0.9607 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.8783, allocations: 14.73 kB / 0.9607 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.166e-05/0.8784, allocations: 114.1 kB / 0.9609 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8784, allocations: 0 / 0.9609 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002547/0.8787, allocations: 40.81 kB / 0.9609 GB, free: 2.145 MB / 0.7169 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 (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.0001516/0.8788, allocations: 111.6 kB / 0.961 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002888/0.8791, allocations: 236.8 kB / 0.9612 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8791, allocations: 0.5 kB / 0.9612 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.213e-05/0.8792, allocations: 29.73 kB / 0.9613 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.8794, allocations: 19.33 kB / 0.9613 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.8799, allocations: 273.4 kB / 0.9615 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.8801, allocations: 0.7087 MB / 0.9622 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.327e-05/0.8801, allocations: 16.59 kB / 0.9622 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.8802, allocations: 12.44 kB / 0.9623 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8802, allocations: 1.125 kB / 0.9623 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of Templates: time 0.004935/0.8851, allocations: 1.698 MB / 0.9639 GB, free: 8 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches