Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01098/0.01098, allocations: 101.5 kB / 15.73 MB, free: 6.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.002048/0.002048, allocations: 195.7 kB / 16.68 MB, free: 6.375 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.533/1.533, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.946/2.946, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.91 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.46/0.4613, allocations: 157.4 MB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002919/0.4643, allocations: 0.7431 MB / 1.208 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001836/0.4662, allocations: 1.151 MB / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.829e-05/0.4662, allocations: 0 / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.232e-05/0.4663, allocations: 7.875 kB / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.34e-05/0.4664, allocations: 11.92 kB / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005687/0.467, allocations: 141.2 kB / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.4672, allocations: 115.8 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.4673, allocations: 16 kB / 1.21 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.4674, allocations: 51.83 kB / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.4675, allocations: 47.81 kB / 1.21 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.4676, allocations: 8 kB / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.762e-05/0.4677, allocations: 23.98 kB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.284e-05/0.4677, allocations: 15.97 kB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.445e-05/0.4678, allocations: 39.86 kB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.468, allocations: 111.7 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.468, allocations: 0 / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.773e-06/0.468, allocations: 4 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.468, allocations: 0 / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006777/0.4687, allocations: 412.9 kB / 1.211 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.4688, allocations: 11.97 kB / 1.211 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.52e-05/0.4688, allocations: 12.84 kB / 1.211 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.469, allocations: 176.2 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.469, allocations: 4.375 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.469, allocations: 12.36 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.4692, allocations: 62.23 kB / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.4692, allocations: 192 / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.4693, allocations: 7.938 kB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.4693, allocations: 0 / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.4694, allocations: 43.95 kB / 1.211 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005647/0.47, allocations: 336.5 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.4702, allocations: 62.55 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.4703, allocations: 36.95 kB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.4703, allocations: 4 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002714/0.4706, allocations: 91.39 kB / 1.211 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.4706, allocations: 0 / 1.211 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004625/0.4711, allocations: 141.5 kB / 1.212 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.4711, allocations: 55.41 kB / 1.212 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.4713, allocations: 113.8 kB / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.4713, allocations: 33.7 kB / 1.212 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.829e-05/0.4714, allocations: 100 kB / 1.212 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.4714, allocations: 15.81 kB / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.77e-05/0.4715, allocations: 33.7 kB / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4716, allocations: 322.8 kB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.4718, allocations: 51.95 kB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.472, allocations: 93.06 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.4723, allocations: 137.8 kB / 1.212 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.4723, allocations: 4 kB / 1.212 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004335/0.4727, allocations: 215.2 kB / 1.213 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.4728, allocations: 33.7 kB / 1.213 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.4728, allocations: 4 kB / 1.213 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.4728, allocations: 4 kB / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.218e-05/0.4729, allocations: 15.92 kB / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4729, allocations: 0 / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.4731, allocations: 44.02 kB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.4731, allocations: 8 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001212/0.4732, allocations: 127.1 kB / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.4733, allocations: 3.906 kB / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.4733, allocations: 16.31 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.4733, allocations: 0 / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.4733, allocations: 0 / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4733, allocations: 7.938 kB / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.4738, allocations: 382.7 kB / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4738, allocations: 0 / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.06e-05/0.4739, allocations: 7.984 kB / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.4739, allocations: 0 / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.4739, allocations: 0 / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.4739, allocations: 8.016 kB / 1.213 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4739, allocations: 7.984 kB / 1.213 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.4742, allocations: 207.3 kB / 1.213 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.4743, allocations: 85.02 kB / 1.214 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.4743, allocations: 0 / 1.214 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.826e-05/0.4744, allocations: 7.984 kB / 1.214 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.4744, allocations: 7.984 kB / 1.214 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.4744, allocations: 11.94 kB / 1.214 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.295e-05/0.4745, allocations: 91.27 kB / 1.214 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.4745, allocations: 0 / 1.214 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002701/0.4748, allocations: 24 kB / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0002026/0.475, allocations: 107.2 kB / 1.214 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003924/0.4754, allocations: 179.5 kB / 1.214 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4754, allocations: 0 / 1.214 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.4755, allocations: 39.95 kB / 1.214 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.4758, allocations: 8 kB / 1.214 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000396/0.4762, allocations: 162.7 kB / 1.214 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.4765, allocations: 0.6885 MB / 1.215 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.634e-05/0.4766, allocations: 7.984 kB / 1.215 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.4766, allocations: 11.44 kB / 1.215 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of SimCode: time 2.584e-06/0.4766, allocations: 0 / 1.215 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of Templates: time 0.005029/0.4817, allocations: 1.464 MB / 1.216 GB, free: 456 kB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches