Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.007944/0.007944, allocations: 100.2 kB / 15.73 MB, free: 6.059 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.00147/0.00147, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.515/1.515, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.886/2.886, allocations: 437 MB / 0.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 63.91 kB / 1.019 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4228, allocations: 151.6 MB / 1.167 GB, free: 6.738 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001926/0.4248, allocations: 0.7441 MB / 1.167 GB, free: 5.992 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.4266, allocations: 1.261 MB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.238e-05/0.4267, allocations: 4 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.806e-05/0.4268, allocations: 7.922 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.887e-05/0.4269, allocations: 15.8 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007447/0.4277, allocations: 258.3 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.428, allocations: 263.5 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.4281, allocations: 20.2 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.4282, allocations: 95.81 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.4284, allocations: 103.7 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.4284, allocations: 24 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.541e-05/0.4285, allocations: 35.98 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.4286, allocations: 35.84 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.4287, allocations: 91.73 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.429, allocations: 219.3 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.429, allocations: 0 / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.553e-06/0.429, allocations: 0 / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.429, allocations: 0 / 1.17 GB, free: 3.57 MB / 0.92 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.0008086/0.4299, allocations: 0.5023 MB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.4299, allocations: 11.98 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.244e-05/0.43, allocations: 16.89 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000628/0.4306, allocations: 248.3 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/0.4307, allocations: 16.3 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/0.4307, allocations: 24.31 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.431, allocations: 139.6 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.431, allocations: 3.938 kB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.431, allocations: 3.984 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.431, allocations: 4 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.4312, allocations: 67.88 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008337/0.432, allocations: 0.5124 MB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.4323, allocations: 153.2 kB / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.57e-05/0.4324, allocations: 61.69 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.4324, allocations: 4.156 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003939/0.4328, allocations: 222.9 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of pre-optimization done (n=22): time 1.343e-06/0.4328, allocations: 0 / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of matching and sorting (n=22): time 0.0006276/0.4335, allocations: 305.4 kB / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.4335, allocations: 93.05 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.4336, allocations: 122.1 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.4337, allocations: 45.69 kB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.4338, allocations: 92.66 kB / 1.172 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.4339, allocations: 55.62 kB / 1.172 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.434, allocations: 69.67 kB / 1.172 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.4341, allocations: 330.8 kB / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.4343, allocations: 92.23 kB / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003114/0.4346, allocations: 145.1 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.435, allocations: 254.5 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.435, allocations: 4 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005491/0.4356, allocations: 356.7 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.555e-05/0.4356, allocations: 67.39 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.4356, allocations: 11.88 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.4357, allocations: 0 / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.874e-05/0.4358, allocations: 12 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.4358, allocations: 15.86 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.4361, allocations: 68.02 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.4362, allocations: 23.98 kB / 1.174 GB, free: 15.12 MB / 0.9356 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.0001282/0.4363, allocations: 140 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.4363, allocations: 19.89 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.254e-05/0.4364, allocations: 12.5 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4364, allocations: 4 kB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.4364, allocations: 3.938 kB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.4364, allocations: 8 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006569/0.4371, allocations: 0.6148 MB / 1.174 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4371, allocations: 0 / 1.174 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.4371, allocations: 11.94 kB / 1.174 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.4372, allocations: 3.938 kB / 1.174 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.4372, allocations: 7.984 kB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4372, allocations: 0 / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4372, allocations: 0 / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.4376, allocations: 430.5 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.4377, allocations: 85.06 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.4377, allocations: 15.92 kB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.4378, allocations: 11.98 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.624e-05/0.4379, allocations: 19.97 kB / 1.175 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.4379, allocations: 19.98 kB / 1.175 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.148e-05/0.438, allocations: 91.27 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.438, allocations: 4 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003499/0.4384, allocations: 59.95 kB / 1.175 GB, free: 13.48 MB / 0.9356 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.0001952/0.4386, allocations: 127.1 kB / 1.175 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005761/0.4391, allocations: 345.1 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4392, allocations: 4 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.4393, allocations: 120.3 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.4397, allocations: 31.91 kB / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005219/0.4402, allocations: 283.7 kB / 1.176 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.4405, allocations: 0.7047 MB / 1.177 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.534e-05/0.4406, allocations: 17.55 kB / 1.177 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.4407, allocations: 23.42 kB / 1.177 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.4407, allocations: 0 / 1.177 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of Templates: time 0.005865/0.4465, allocations: 2.707 MB / 1.179 GB, free: 9.078 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches