Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 108 kB / 15.61 MB, free: 152 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.002233/0.002233, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.602/1.602, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.026/3.026, allocations: 472.7 MB / 0.7452 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 67.06 kB / 0.9121 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.473/0.4748, allocations: 159.9 MB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002161/0.477, allocations: 0.737 MB / 1.069 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.4787, allocations: 1.262 MB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.4788, allocations: 4 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.668e-05/0.4788, allocations: 3.938 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.36e-05/0.4789, allocations: 19.78 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006549/0.4796, allocations: 246.1 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.4798, allocations: 267.5 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.4799, allocations: 20.2 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.4801, allocations: 99.86 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.4802, allocations: 79.77 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.665e-05/0.4803, allocations: 24 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.974e-05/0.4804, allocations: 39.92 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.031e-05/0.4804, allocations: 35.95 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.4805, allocations: 87.75 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.4808, allocations: 227.6 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4808, allocations: 0 / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4808, allocations: 0 / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.4808, allocations: 0 / 1.071 GB, free: 7.199 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007226/0.4816, allocations: 498.6 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4816, allocations: 12.03 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.998e-05/0.4817, allocations: 28.73 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006882/0.4824, allocations: 244.3 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/0.4824, allocations: 16.36 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.4825, allocations: 20.38 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.4828, allocations: 133.2 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4828, allocations: 7.938 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.4828, allocations: 0 / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.4828, allocations: 4 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.4829, allocations: 59.89 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008584/0.4838, allocations: 0.5163 MB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.4841, allocations: 157.2 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.651e-05/0.4842, allocations: 61.69 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.4842, allocations: 0 / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004012/0.4846, allocations: 209.7 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.403e-06/0.4846, allocations: 3.938 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0006173/0.4853, allocations: 317.2 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.4853, allocations: 93.05 kB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.4855, allocations: 131.8 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.4855, allocations: 33.7 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.062e-05/0.4856, allocations: 108.7 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/0.4857, allocations: 47.41 kB / 1.074 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.4858, allocations: 73.67 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.486, allocations: 322.8 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.4862, allocations: 88.23 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.4864, allocations: 156.1 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.4868, allocations: 246.1 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.4868, allocations: 7.938 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006061/0.4874, allocations: 356.9 kB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.325e-05/0.4875, allocations: 67.39 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.4875, allocations: 0 / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.4875, allocations: 4 kB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.4876, allocations: 20.31 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.4877, allocations: 8.016 kB / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.488, allocations: 67.77 kB / 1.075 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/0.4881, allocations: 24.02 kB / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001719/0.4883, allocations: 147.9 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.4883, allocations: 23.78 kB / 1.075 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.207e-05/0.4884, allocations: 16.5 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.4884, allocations: 4 kB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.4884, allocations: 3.938 kB / 1.075 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4884, allocations: 0 / 1.075 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006713/0.4891, allocations: 0.6148 MB / 1.076 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4891, allocations: 0 / 1.076 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.114e-05/0.4891, allocations: 4 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.4892, allocations: 7.938 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.4892, allocations: 11.98 kB / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.4892, allocations: 0 / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.4892, allocations: 0 / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004964/0.4897, allocations: 429 kB / 1.076 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.714e-05/0.4898, allocations: 88.95 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/0.4898, allocations: 11.92 kB / 1.077 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.49, allocations: 15.98 kB / 1.077 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/0.4901, allocations: 23.91 kB / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.4901, allocations: 15.98 kB / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.474e-05/0.4902, allocations: 102 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4902, allocations: 0 / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004216/0.4906, allocations: 56 kB / 1.077 GB, free: 1.117 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002418/0.4909, allocations: 121.6 kB / 1.077 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005357/0.4914, allocations: 350.5 kB / 1.077 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4914, allocations: 4 kB / 1.077 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.4916, allocations: 120.3 kB / 1.077 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.492, allocations: 40.12 kB / 1.077 GB, free: 476 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006445/0.4927, allocations: 266.5 kB / 1.078 GB, free: 176 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.493, allocations: 0.7047 MB / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.119e-05/0.4931, allocations: 21.55 kB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.4931, allocations: 19.42 kB / 1.078 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of SimCode: time 1.493e-06/0.4931, allocations: 0 / 1.078 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of Templates: time 0.006901/0.5001, allocations: 2.683 MB / 1.081 GB, free: 12.74 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches