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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001433/0.001433, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.654/1.654, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.993/2.993, allocations: 472.7 MB / 0.7452 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 71.23 kB / 0.9121 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4568/0.4581, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002539/0.4607, allocations: 0.747 MB / 1.069 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001691/0.4624, allocations: 1.149 MB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.824e-05/0.4625, allocations: 3.938 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.728e-05/0.4625, allocations: 3.938 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.227e-05/0.4626, allocations: 7.875 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000567/0.4632, allocations: 143.2 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.4634, allocations: 119.8 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.4635, allocations: 19.97 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.4636, allocations: 43.91 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.4638, allocations: 47.83 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.4638, allocations: 8 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.385e-05/0.4639, allocations: 19.98 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.198e-05/0.4639, allocations: 15.98 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.146e-05/0.464, allocations: 43.83 kB / 1.071 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.4642, allocations: 107.7 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4642, allocations: 3.938 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4642, allocations: 0 / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.148e-06/0.4643, allocations: 4 kB / 1.071 GB, free: 7.887 MB / 0.8262 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.0007023/0.465, allocations: 421.1 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.465, allocations: 8.031 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.232e-05/0.4651, allocations: 12.84 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.4652, allocations: 168.4 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.4653, allocations: 4.375 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.4653, allocations: 12.38 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.4655, allocations: 62.22 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.4655, allocations: 192 / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.4656, allocations: 3.938 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.4656, allocations: 8 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.4658, allocations: 39.89 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/0.4664, allocations: 332.6 kB / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.4666, allocations: 66.55 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.4667, allocations: 32.95 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.4667, allocations: 0 / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/0.467, allocations: 99.23 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.467, allocations: 4 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004538/0.4675, allocations: 137.6 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.4675, allocations: 55.41 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.4676, allocations: 117.8 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.4677, allocations: 33.7 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.017e-05/0.4678, allocations: 92.08 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.4678, allocations: 15.8 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.275e-05/0.4679, allocations: 37.7 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.468, allocations: 322.8 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.4682, allocations: 51.97 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.4684, allocations: 84.25 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.4687, allocations: 141.8 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4687, allocations: 0 / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004483/0.4691, allocations: 211.1 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/0.4692, allocations: 41.69 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.4692, allocations: 0 / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4692, allocations: 4 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.4693, allocations: 11.98 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4693, allocations: 320 / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.4696, allocations: 43.92 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.4696, allocations: 12 kB / 1.073 GB, free: 4.973 MB / 0.8262 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.0001229/0.4697, allocations: 131.4 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.4697, allocations: 3.906 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.4698, allocations: 16.36 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4698, allocations: 3.984 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4698, allocations: 0 / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.4698, allocations: 0 / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00053/0.4703, allocations: 382.3 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.4704, allocations: 4 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.583e-05/0.4704, allocations: 7.984 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.4704, allocations: 0 / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.4705, allocations: 8.062 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.4705, allocations: 4 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4705, allocations: 3.984 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.4708, allocations: 211.3 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.4709, allocations: 81.02 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.4709, allocations: 4 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.888e-05/0.471, allocations: 11.98 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.4711, allocations: 4 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.4711, allocations: 7.875 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.855e-05/0.4711, allocations: 95.27 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4711, allocations: 0 / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002603/0.4714, allocations: 24 kB / 1.074 GB, free: 3.891 MB / 0.8262 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.000223/0.4716, allocations: 107.8 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004698/0.4721, allocations: 179.3 kB / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4721, allocations: 4.25 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.4723, allocations: 43.91 kB / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.4726, allocations: 10.59 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.4731, allocations: 166.7 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.4734, allocations: 0.6885 MB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.937e-05/0.4735, allocations: 7.781 kB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.4735, allocations: 15.42 kB / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.4735, allocations: 0 / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of Templates: time 0.004608/0.4781, allocations: 1.444 MB / 1.077 GB, free: 1.18 MB / 0.8262 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