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.001301/0.001301, allocations: 113 kB / 16.41 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.001274/0.001275, allocations: 183 kB / 17.34 MB, free: 5.762 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.431/2.431, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.91 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7458/0.7471, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001825/0.7489, allocations: 0.7415 MB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.7505, allocations: 1.151 MB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.14e-05/0.7506, allocations: 0 / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.463e-05/0.7506, allocations: 7.938 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.667e-05/0.7508, allocations: 11.86 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005451/0.7513, allocations: 135.2 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.7515, allocations: 123.8 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.532e-05/0.7516, allocations: 19.97 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.71e-05/0.7517, allocations: 43.91 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.891e-05/0.7518, allocations: 39.89 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.7519, allocations: 12 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.511e-05/0.752, allocations: 31.91 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.752, allocations: 7.984 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.446e-05/0.7521, allocations: 43.84 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.7522, allocations: 119.6 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7522, allocations: 0 / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7523, allocations: 0 / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.7523, allocations: 3.938 kB / 1.211 GB, free: 11.18 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005797/0.7528, allocations: 406.7 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.7529, allocations: 8.031 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.791e-05/0.753, allocations: 16.84 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.7531, allocations: 184.2 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.7531, allocations: 4.375 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.7532, allocations: 12.36 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.7534, allocations: 66.22 kB / 1.212 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.7534, allocations: 192 / 1.212 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.7534, allocations: 3.938 kB / 1.212 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.7534, allocations: 0 / 1.212 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.7536, allocations: 47.89 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.7541, allocations: 324.7 kB / 1.212 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.7543, allocations: 62.42 kB / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.7544, allocations: 41.02 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.7544, allocations: 0 / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.7546, allocations: 91.42 kB / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 3.787e-06/0.7546, allocations: 0 / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.000418/0.755, allocations: 141.4 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.7551, allocations: 55.41 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.498e-05/0.7552, allocations: 117.8 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.7552, allocations: 37.7 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.7553, allocations: 88.14 kB / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.7553, allocations: 27.72 kB / 1.213 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.275e-05/0.7554, allocations: 37.7 kB / 1.213 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.357e-05/0.7555, allocations: 314.8 kB / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.7556, allocations: 51.95 kB / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.7558, allocations: 88.25 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.7561, allocations: 145.8 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7561, allocations: 0 / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004123/0.7565, allocations: 207.1 kB / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.7566, allocations: 37.69 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.7566, allocations: 4 kB / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.7566, allocations: 0 / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.905e-05/0.7567, allocations: 11.98 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.7567, allocations: 4.125 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.7569, allocations: 35.88 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.7569, allocations: 15.92 kB / 1.213 GB, free: 8.27 MB / 0.9356 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.0001005/0.757, allocations: 123.5 kB / 1.214 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.7571, allocations: 7.906 kB / 1.214 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.7571, allocations: 8.375 kB / 1.214 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.7571, allocations: 4 kB / 1.214 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7571, allocations: 3.938 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.7571, allocations: 7.984 kB / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.7576, allocations: 374.7 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.7576, allocations: 0 / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.44e-05/0.7576, allocations: 11.92 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.7576, allocations: 0 / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.7577, allocations: 8.062 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.7577, allocations: 4.078 kB / 1.214 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7577, allocations: 3.984 kB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.7579, allocations: 207.3 kB / 1.214 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.758, allocations: 88.95 kB / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.758, allocations: 7.984 kB / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.7581, allocations: 4 kB / 1.214 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.7582, allocations: 11.98 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.7582, allocations: 7.938 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.495e-05/0.7582, allocations: 95.27 kB / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7582, allocations: 0 / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002565/0.7585, allocations: 20 kB / 1.214 GB, free: 7.188 MB / 0.9356 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.0001564/0.7587, allocations: 111.2 kB / 1.214 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003723/0.759, allocations: 175.3 kB / 1.215 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.759, allocations: 0 / 1.215 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.7592, allocations: 43.91 kB / 1.215 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.7594, allocations: 18.33 kB / 1.215 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.7598, allocations: 180.7 kB / 1.215 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.76, allocations: 0.6924 MB / 1.216 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.7601, allocations: 11.44 kB / 1.216 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of SimCode: time 1.9e-07/0.7601, allocations: 0 / 1.216 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of Templates: time 0.002709/0.7628, allocations: 1.264 MB / 1.217 GB, free: 4.637 MB / 0.9356 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/jenkins1/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