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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007164/0.007164, allocations: 99.98 kB / 15.73 MB, free: 6.039 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.001461/0.001461, allocations: 202 kB / 16.68 MB, free: 5.965 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.724/2.724, allocations: 437.1 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.00196, allocations: 59.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3509, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002032/0.3529, allocations: 0.7421 MB / 1.167 GB, free: 6.543 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.3547, allocations: 1.261 MB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.995e-05/0.3548, allocations: 0 / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.122e-05/0.3548, allocations: 7.875 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.355, allocations: 19.84 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007594/0.3557, allocations: 255.2 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000383/0.3561, allocations: 263.5 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3562, allocations: 16.22 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.3564, allocations: 103.8 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.3566, allocations: 95.73 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.93e-05/0.3567, allocations: 27.94 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.3568, allocations: 31.98 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.3569, allocations: 39.91 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.357, allocations: 83.75 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.3574, allocations: 231.5 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3574, allocations: 0 / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3574, allocations: 0 / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.3575, allocations: 0 / 1.169 GB, free: 4.117 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.0009486/0.3584, allocations: 0.4906 MB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.3585, allocations: 8.031 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.127e-05/0.3585, allocations: 50.67 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.664e-05/0.3586, allocations: 20.89 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006668/0.3593, allocations: 252.3 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/0.3594, allocations: 8.375 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.561e-05/0.3594, allocations: 24.36 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.3597, allocations: 143.1 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3598, allocations: 0 / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.3598, allocations: 4 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.3598, allocations: 0 / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.36, allocations: 63.89 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009755/0.3609, allocations: 0.5202 MB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00033/0.3613, allocations: 153.2 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.3614, allocations: 61.69 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.3614, allocations: 4 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004228/0.3619, allocations: 208.8 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.3619, allocations: 0 / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of matching and sorting (n=22): time 0.0005912/0.3625, allocations: 317.3 kB / 1.172 GB, free: 1.594 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.384e-05/0.3626, allocations: 89.05 kB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.3627, allocations: 126.1 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/0.3627, allocations: 41.7 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.501e-05/0.3628, allocations: 100.8 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.467e-05/0.3629, allocations: 51.62 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.363, allocations: 73.69 kB / 1.172 GB, free: 1.074 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002372/0.3633, allocations: 330.8 kB / 1.172 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/0.3635, allocations: 80.23 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.3638, allocations: 157.1 kB / 1.173 GB, free: 496 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.3641, allocations: 254.5 kB / 1.173 GB, free: 204 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3641, allocations: 3.938 kB / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005913/0.3647, allocations: 356.6 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.787e-05/0.3647, allocations: 67.62 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.3648, allocations: 4 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/0.3648, allocations: 7.984 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.3649, allocations: 19.88 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.3649, allocations: 4 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.3653, allocations: 71.8 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/0.3654, allocations: 20 kB / 1.173 GB, free: 15.62 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.0001663/0.3656, allocations: 140 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.3656, allocations: 15.91 kB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.198e-05/0.3657, allocations: 16.48 kB / 1.173 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.3657, allocations: 7.938 kB / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.3657, allocations: 0 / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3657, allocations: 0 / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007454/0.3664, allocations: 0.6148 MB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.3665, allocations: 3.984 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.918e-05/0.3665, allocations: 12 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.3665, allocations: 3.938 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.3666, allocations: 7.984 kB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.3666, allocations: 4 kB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3666, allocations: 0 / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004994/0.3671, allocations: 437.2 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/0.3672, allocations: 85.06 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.3672, allocations: 11.94 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.3674, allocations: 11.97 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.916e-05/0.3674, allocations: 19.97 kB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.3675, allocations: 19.98 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.977e-05/0.3675, allocations: 87.28 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.3e-07/0.3675, allocations: 0 / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003961/0.3679, allocations: 63.94 kB / 1.175 GB, free: 13.98 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.001004/0.369, allocations: 0.9689 MB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005682/0.3695, allocations: 350.8 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3696, allocations: 8 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.3697, allocations: 111.9 kB / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.3701, allocations: 27.97 kB / 1.176 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002934/0.3731, allocations: 2.284 MB / 1.178 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.3735, allocations: 0.7008 MB / 1.179 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.178e-05/0.3735, allocations: 21.55 kB / 1.179 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.33e-05/0.3736, allocations: 35.61 kB / 1.179 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of SimCode: time 6.21e-07/0.3736, allocations: 4 kB / 1.179 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.3961, allocations: 4.102 MB / 1.183 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.297, allocations: 5.422 kB / 1.183 GB, free: 5.262 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/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