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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001639/0.001639, allocations: 113 kB / 16.38 MB, free: 6.355 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.001676/0.001677, allocations: 189.5 kB / 17.31 MB, free: 5.895 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.493/1.493, 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.0-master/package.mo): time 2.575/2.575, allocations: 442.7 MB / 0.7166 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 67.83 kB / 1.027 GB, free: 1.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.048, allocations: 153 MB / 1.177 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002169/1.05, allocations: 0.7443 MB / 1.177 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00173/1.052, allocations: 1.155 MB / 1.179 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.969e-05/1.052, allocations: 0 / 1.179 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.456e-05/1.052, allocations: 3.938 kB / 1.179 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.674e-05/1.052, allocations: 7.875 kB / 1.179 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006259/1.053, allocations: 142 kB / 1.179 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002305/1.053, allocations: 115.8 kB / 1.179 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/1.053, allocations: 23.97 kB / 1.179 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/1.054, allocations: 47.89 kB / 1.179 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/1.054, allocations: 47.83 kB / 1.179 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/1.054, allocations: 8 kB / 1.179 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.718e-05/1.054, allocations: 23.98 kB / 1.179 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.752e-05/1.054, allocations: 15.97 kB / 1.179 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 6.689e-05/1.054, allocations: 43.78 kB / 1.179 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/1.054, allocations: 115.6 kB / 1.179 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/1.054, allocations: 0 / 1.179 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.204e-06/1.054, allocations: 0 / 1.179 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.899e-06/1.054, allocations: 0 / 1.179 GB, free: 8.258 MB / 0.9044 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.0005855/1.055, allocations: 414.7 kB / 1.18 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/1.055, allocations: 8.031 kB / 1.18 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/1.055, allocations: 12.84 kB / 1.18 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/1.055, allocations: 168.3 kB / 1.18 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/1.055, allocations: 8.312 kB / 1.18 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/1.055, allocations: 12.38 kB / 1.18 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/1.055, allocations: 66.14 kB / 1.18 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/1.055, allocations: 4.188 kB / 1.18 GB, free: 7.484 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/1.055, allocations: 11.94 kB / 1.18 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/1.055, allocations: 0 / 1.18 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/1.055, allocations: 39.95 kB / 1.18 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/1.056, allocations: 320.7 kB / 1.18 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/1.056, allocations: 70.48 kB / 1.18 GB, free: 6.992 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/1.056, allocations: 32.95 kB / 1.18 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/1.056, allocations: 0 / 1.18 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002624/1.056, allocations: 87.36 kB / 1.18 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/1.056, allocations: 4 kB / 1.18 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0004638/1.057, allocations: 145.5 kB / 1.181 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/1.057, allocations: 55.41 kB / 1.181 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.914e-05/1.057, allocations: 121.8 kB / 1.181 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/1.057, allocations: 29.7 kB / 1.181 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.083e-05/1.057, allocations: 88.14 kB / 1.181 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/1.057, allocations: 19.66 kB / 1.181 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/1.057, allocations: 45.69 kB / 1.181 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.057, allocations: 318.8 kB / 1.181 GB, free: 5.996 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/1.058, allocations: 51.95 kB / 1.181 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/1.058, allocations: 84.25 kB / 1.181 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/1.058, allocations: 141.9 kB / 1.181 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.058, allocations: 3.938 kB / 1.181 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004572/1.059, allocations: 211.2 kB / 1.182 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/1.059, allocations: 43.25 kB / 1.182 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/1.059, allocations: 0 / 1.182 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.059, allocations: 7.938 kB / 1.182 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/1.059, allocations: 8 kB / 1.182 GB, free: 5.402 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/1.059, allocations: 7.922 kB / 1.182 GB, free: 5.395 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/1.059, allocations: 36 kB / 1.182 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/1.059, allocations: 15.98 kB / 1.182 GB, free: 5.344 MB / 0.9044 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.0001135/1.059, allocations: 121.8 kB / 1.182 GB, free: 5.215 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/1.059, allocations: 7.844 kB / 1.182 GB, free: 5.207 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/1.059, allocations: 12.38 kB / 1.182 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.059, allocations: 0 / 1.182 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.059, allocations: 0 / 1.182 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/1.059, allocations: 81.09 kB / 1.182 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/1.059, allocations: 4 kB / 1.182 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.815e-05/1.059, allocations: 8 kB / 1.182 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/1.059, allocations: 11.92 kB / 1.182 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003341/1.06, allocations: 193.2 kB / 1.182 GB, free: 4.879 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003329/1.06, allocations: 290.8 kB / 1.182 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001117/1.06, allocations: 39.95 kB / 1.182 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.399e-05/1.06, allocations: 91.27 kB / 1.183 GB, free: 4.449 MB / 0.9044 GB Notification: Performance of Backend: time 7.61e-07/1.06, allocations: 0 / 1.183 GB, free: 4.449 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006281/1.061, allocations: 228.1 kB / 1.183 GB, free: 4.211 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006042/1.062, allocations: 0.6162 MB / 1.183 GB, free: 3.547 MB / 0.9044 GB Notification: Performance of Templates: time 0.004283/1.066, allocations: 1.536 MB / 1.185 GB, free: 2.031 MB / 0.9044 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