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.001646/0.001646, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001885/0.001885, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.54/1.54, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.142/3.142, allocations: 472.6 MB / 0.7447 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 64.86 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4353, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002282/0.4377, allocations: 0.7971 MB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.4394, allocations: 1.166 MB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.133e-05/0.4395, allocations: 0 / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.508e-05/0.4395, allocations: 7.938 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.4396, allocations: 11.92 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004876/0.4401, allocations: 115 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.4403, allocations: 107.8 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.4404, allocations: 19.97 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.4405, allocations: 43.89 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.238e-05/0.4406, allocations: 39.83 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.4406, allocations: 8 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.641e-05/0.4407, allocations: 19.98 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.4407, allocations: 11.94 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.4408, allocations: 39.83 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.441, allocations: 103.7 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.441, allocations: 0 / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.441, allocations: 0 / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.441, allocations: 0 / 1.07 GB, free: 8.34 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.0006358/0.4417, allocations: 413.2 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.4417, allocations: 12.03 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.625e-05/0.4418, allocations: 8.844 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.4419, allocations: 172.3 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.4419, allocations: 8.375 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.442, allocations: 4.375 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.4422, allocations: 70.16 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.4422, allocations: 192 / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.4422, allocations: 3.938 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.4422, allocations: 4 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.4424, allocations: 43.95 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005567/0.443, allocations: 340.6 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.4432, allocations: 62.55 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.4433, allocations: 32.97 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.4433, allocations: 0 / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.4436, allocations: 87.3 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.4436, allocations: 4 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004475/0.444, allocations: 137.5 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.4441, allocations: 55.47 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.4442, allocations: 117.8 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.4442, allocations: 29.7 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.322e-05/0.4443, allocations: 96.11 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.4444, allocations: 15.81 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.609e-05/0.4445, allocations: 45.64 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4446, allocations: 322.8 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.4448, allocations: 43.97 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.4449, allocations: 92.62 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.4452, allocations: 154.1 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4452, allocations: 0 / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004489/0.4457, allocations: 207.2 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/0.4457, allocations: 41.62 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4458, allocations: 0 / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.4458, allocations: 0 / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.826e-05/0.4459, allocations: 16.05 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.4459, allocations: 7.938 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.4461, allocations: 43.92 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.4462, allocations: 8 kB / 1.073 GB, free: 5.414 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.0001109/0.4463, allocations: 129 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.4463, allocations: 11.89 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.4463, allocations: 8.375 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4463, allocations: 4 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4463, allocations: 0 / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4463, allocations: 0 / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004644/0.4468, allocations: 378.5 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4468, allocations: 0 / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.4469, allocations: 11.94 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.4469, allocations: 3.984 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.4469, allocations: 0 / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4469, allocations: 0 / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4469, allocations: 0 / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.4473, allocations: 215.3 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.4473, allocations: 81.02 kB / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.4473, allocations: 8 kB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-05/0.4474, allocations: 3.984 kB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.4475, allocations: 11.97 kB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.4475, allocations: 7.938 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.792e-05/0.4476, allocations: 95.33 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4476, allocations: 0 / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002551/0.4478, allocations: 27.98 kB / 1.074 GB, free: 4.34 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.0001774/0.448, allocations: 107.2 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003762/0.4484, allocations: 171.3 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4484, allocations: 256 / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.4485, allocations: 43.97 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.4488, allocations: 15.94 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.4492, allocations: 176 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.4495, allocations: 0.6888 MB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.837e-05/0.4495, allocations: 15.7 kB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.4496, allocations: 11.44 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.4496, allocations: 0 / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of Templates: time 0.00387/0.4535, allocations: 1.325 MB / 1.076 GB, free: 1.738 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