Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00551/0.00551, allocations: 101.3 kB / 15.73 MB, free: 5.492 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.001253/0.001253, allocations: 186.3 kB / 16.67 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 14.93 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.683/2.683, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.91 kB / 1.054 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.97/0.9713, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001921/0.9732, allocations: 0.7047 MB / 1.208 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.975, allocations: 1.252 MB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.055e-05/0.975, allocations: 0 / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.9752, allocations: 15.86 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.009e-05/0.9753, allocations: 11.88 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007425/0.976, allocations: 242.1 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000331/0.9763, allocations: 263.6 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.9765, allocations: 39.94 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.9767, allocations: 95.86 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.9769, allocations: 91.69 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.9769, allocations: 16 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.977, allocations: 47.92 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.905e-05/0.9771, allocations: 31.91 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.9772, allocations: 87.62 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.9775, allocations: 230.8 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.9776, allocations: 8 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.494e-06/0.9776, allocations: 0 / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.9776, allocations: 4 kB / 1.211 GB, free: 10.47 MB / 0.9356 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.0006285/0.9782, allocations: 0.4927 MB / 1.211 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.9783, allocations: 8.031 kB / 1.211 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.587e-05/0.9783, allocations: 24.75 kB / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/0.9789, allocations: 264.1 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.9789, allocations: 16.38 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/0.9789, allocations: 16.38 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.9791, allocations: 125.6 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.9792, allocations: 3.938 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.9792, allocations: 11.98 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.9792, allocations: 0 / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.439e-05/0.9793, allocations: 51.91 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007443/0.98, allocations: 0.6572 MB / 1.212 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.88e-05/0.9801, allocations: 45.2 kB / 1.212 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.9801, allocations: 17.72 kB / 1.212 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.9802, allocations: 4 kB / 1.212 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.9804, allocations: 100.9 kB / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.9804, allocations: 0 / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0002473/0.9806, allocations: 97.56 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.9807, allocations: 88.98 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.981, allocations: 171 kB / 1.213 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.981, allocations: 29.7 kB / 1.213 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.926e-05/0.9811, allocations: 119.9 kB / 1.213 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.9811, allocations: 23.73 kB / 1.213 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.9812, allocations: 65.61 kB / 1.213 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.9814, allocations: 322.8 kB / 1.213 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.9815, allocations: 51.97 kB / 1.213 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.9817, allocations: 116.5 kB / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.9819, allocations: 178.2 kB / 1.214 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.9819, allocations: 4 kB / 1.214 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000419/0.9823, allocations: 260.7 kB / 1.214 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.768e-05/0.9824, allocations: 71.64 kB / 1.214 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.9824, allocations: 4 kB / 1.214 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.9824, allocations: 4 kB / 1.214 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.327e-05/0.9825, allocations: 4 kB / 1.214 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.9825, allocations: 3.984 kB / 1.214 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.9829, allocations: 71.77 kB / 1.214 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.9829, allocations: 12 kB / 1.214 GB, free: 6.602 MB / 0.9356 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.0001367/0.9831, allocations: 140.2 kB / 1.214 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.9831, allocations: 15.83 kB / 1.214 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.9831, allocations: 12.25 kB / 1.214 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.9831, allocations: 4 kB / 1.214 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.9831, allocations: 0 / 1.214 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.9832, allocations: 0 / 1.214 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.9834, allocations: 201.6 kB / 1.215 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.9834, allocations: 3.938 kB / 1.215 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.143e-05/0.9834, allocations: 8 kB / 1.215 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.9834, allocations: 4 kB / 1.215 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.9835, allocations: 4 kB / 1.215 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.9835, allocations: 0 / 1.215 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.9835, allocations: 7.922 kB / 1.215 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.9837, allocations: 106.2 kB / 1.215 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.266e-05/0.9838, allocations: 96.88 kB / 1.215 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.9838, allocations: 4 kB / 1.215 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.16e-05/0.9839, allocations: 11.98 kB / 1.215 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.9839, allocations: 3.938 kB / 1.215 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.9839, allocations: 7.984 kB / 1.215 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.017e-05/0.984, allocations: 122.5 kB / 1.215 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.984, allocations: 0 / 1.215 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002532/0.9843, allocations: 35.91 kB / 1.215 GB, free: 5.727 MB / 0.9356 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.0001959/0.9845, allocations: 111.2 kB / 1.215 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003662/0.9849, allocations: 234.7 kB / 1.215 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9849, allocations: 0 / 1.215 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.421e-05/0.9849, allocations: 28.02 kB / 1.215 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.9852, allocations: 31.78 kB / 1.215 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/0.9857, allocations: 240.8 kB / 1.216 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.986, allocations: 0.7158 MB / 1.216 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.708e-05/0.9861, allocations: 8.891 kB / 1.216 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.9861, allocations: 15.44 kB / 1.216 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of SimCode: time 4.2e-07/0.9861, allocations: 0 / 1.216 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of Templates: time 0.005134/0.9912, allocations: 1.998 MB / 1.218 GB, free: 2.293 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches