Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000869/0.000869, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9244/0.9244, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.682/1.682, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.905e-06/2.905e-06, allocations: 0 / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.475e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001401/0.001426, allocations: 0.7224 MB / 0.9512 GB, free: 2.75 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.002708, allocations: 1.276 MB / 0.9525 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.547e-05/0.002763, allocations: 0 / 0.9525 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.002795, allocations: 3.938 kB / 0.9525 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.469e-05/0.00287, allocations: 23.78 kB / 0.9525 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005555/0.003425, allocations: 243.1 kB / 0.9527 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.003657, allocations: 259.5 kB / 0.953 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.946e-05/0.003756, allocations: 12.17 kB / 0.953 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.003906, allocations: 151.7 kB / 0.9531 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.00403, allocations: 79.78 kB / 0.9532 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 4.28e-05/0.004073, allocations: 24 kB / 0.9532 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.886e-05/0.004142, allocations: 36 kB / 0.9533 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.302e-05/0.004175, allocations: 31.89 kB / 0.9533 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 7.71e-05/0.004252, allocations: 75.88 kB / 0.9534 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.004483, allocations: 259.4 kB / 0.9536 GB, free: 292 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.004486, allocations: 4 kB / 0.9536 GB, free: 288 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.543e-06/0.004488, allocations: 0 / 0.9536 GB, free: 288 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.004493, allocations: 3.938 kB / 0.9536 GB, free: 284 kB / 0.9011 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.0005468/0.00504, allocations: 429.2 kB / 0.954 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.005078, allocations: 12.03 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.322e-05/0.005111, allocations: 42.75 kB / 0.9541 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.005161, allocations: 20.88 kB / 0.9541 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.00551, allocations: 189.1 kB / 0.9543 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.005533, allocations: 16.36 kB / 0.9543 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.00556, allocations: 16.38 kB / 0.9543 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.005731, allocations: 135.9 kB / 0.9544 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.005738, allocations: 192 / 0.9544 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.005752, allocations: 12.36 kB / 0.9545 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.005758, allocations: 7.938 kB / 0.9545 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.165e-05/0.005849, allocations: 59.89 kB / 0.9545 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007489/0.006598, allocations: 444 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.006788, allocations: 141.1 kB / 0.9551 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.076e-05/0.006849, allocations: 53.7 kB / 0.9551 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.00686, allocations: 7.984 kB / 0.9551 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002687/0.007128, allocations: 215.4 kB / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.00713, allocations: 0 / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22): time 0.0003857/0.007516, allocations: 309.4 kB / 0.9556 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.00756, allocations: 93.03 kB / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.876e-05/0.007629, allocations: 130 kB / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.007659, allocations: 41.69 kB / 0.9559 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.007707, allocations: 100.6 kB / 0.956 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.00774, allocations: 51.62 kB / 0.956 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-05/0.007824, allocations: 77.67 kB / 0.9561 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.289e-05/0.007907, allocations: 326.8 kB / 0.9564 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.008059, allocations: 151.6 kB / 0.9566 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.008214, allocations: 211.6 kB / 0.9568 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.008416, allocations: 258.5 kB / 0.957 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.008419, allocations: 0 / 0.957 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003851/0.008804, allocations: 420 kB / 0.9574 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.008843, allocations: 63.41 kB / 0.9575 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.008848, allocations: 3.984 kB / 0.9575 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.008864, allocations: 4 kB / 0.9575 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.055e-05/0.008935, allocations: 20.16 kB / 0.9575 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.008941, allocations: 8 kB / 0.9575 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.009122, allocations: 71.75 kB / 0.9576 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.009142, allocations: 12 kB / 0.9576 GB, free: 11.84 MB / 0.9167 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 9.47e-05/0.009236, allocations: 147.8 kB / 0.9577 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.009255, allocations: 19.89 kB / 0.9577 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.009288, allocations: 20.44 kB / 0.9578 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.00929, allocations: 0 / 0.9578 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.009296, allocations: 4 kB / 0.9578 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.0093, allocations: 0 / 0.9578 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/0.009705, allocations: 0.5788 MB / 0.9583 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.009707, allocations: 3.938 kB / 0.9583 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.368e-05/0.009731, allocations: 8 kB / 0.9583 GB, free: 11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.009735, allocations: 3.984 kB / 0.9583 GB, free: 11 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.009747, allocations: 8 kB / 0.9584 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.009752, allocations: 7.938 kB / 0.9584 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.009753, allocations: 4 kB / 0.9584 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.01003, allocations: 430.5 kB / 0.9588 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.01004, allocations: 11.89 kB / 0.9588 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.01006, allocations: 12.08 kB / 0.9588 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.01014, allocations: 11.92 kB / 0.9588 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.01019, allocations: 27.89 kB / 0.9588 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.01021, allocations: 19.98 kB / 0.9589 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.929e-05/0.01025, allocations: 92.39 kB / 0.9589 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01025, allocations: 0 / 0.9589 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002358/0.01048, allocations: 59.95 kB / 0.959 GB, free: 10.31 MB / 0.9167 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.0005272/0.01101, allocations: 0.9693 MB / 0.96 GB, free: 9.32 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003441/0.01135, allocations: 381.8 kB / 0.9603 GB, free: 8.91 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01136, allocations: 0 / 0.9603 GB, free: 8.91 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.35e-05/0.01145, allocations: 86.28 kB / 0.9604 GB, free: 8.828 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.01172, allocations: 32.62 kB / 0.9604 GB, free: 8.797 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.01385, allocations: 2.537 MB / 0.9629 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.039e-05/0.01392, allocations: 96.89 kB / 0.963 GB, free: 5.945 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.191e-05/0.01397, allocations: 21.48 kB / 0.963 GB, free: 5.926 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.64e-05/0.01403, allocations: 36.59 kB / 0.9631 GB, free: 5.891 MB / 0.9167 GB Notification: Performance of SimCode: time 8.32e-07/0.01403, allocations: 3.938 kB / 0.9631 GB, free: 5.887 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.03341, allocations: 5.06 MB / 0.968 GB, free: 1.012 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.776/6.809, allocations: 3.469 kB / 0.968 GB, free: 1.012 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.826830313540995]