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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 109.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.74/2.74, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.001969/0.001969, allocations: 75.89 kB / 1.104 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9102/0.9122, allocations: 168.7 MB / 1.269 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001975/0.9142, allocations: 0.7364 MB / 1.269 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001851/0.916, allocations: 1.258 MB / 1.271 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.883e-05/0.9161, allocations: 0 / 1.271 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.317e-05/0.9161, allocations: 11.86 kB / 1.271 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.125e-05/0.9162, allocations: 23.8 kB / 1.271 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007331/0.9169, allocations: 253.7 kB / 1.271 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.9173, allocations: 247.6 kB / 1.271 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.9174, allocations: 12.22 kB / 1.271 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.9175, allocations: 103.7 kB / 1.271 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.9177, allocations: 99.73 kB / 1.271 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.9177, allocations: 24 kB / 1.271 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.02e-05/0.9178, allocations: 39.98 kB / 1.271 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.312e-05/0.9179, allocations: 31.91 kB / 1.272 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.918, allocations: 87.73 kB / 1.272 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.9183, allocations: 225.1 kB / 1.272 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.9183, allocations: 0 / 1.272 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9183, allocations: 3.938 kB / 1.272 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.9183, allocations: 0 / 1.272 GB, free: 2.027 MB / 0.9669 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.000856/0.9192, allocations: 0.5023 MB / 1.272 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.9192, allocations: 12.03 kB / 1.272 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.697e-05/0.9192, allocations: 38.73 kB / 1.272 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.267e-05/0.9193, allocations: 24.84 kB / 1.272 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005969/0.9199, allocations: 248.3 kB / 1.273 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.355e-05/0.92, allocations: 16.36 kB / 1.273 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.92, allocations: 20.36 kB / 1.273 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.9203, allocations: 143.6 kB / 1.273 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.9203, allocations: 3.938 kB / 1.273 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.9203, allocations: 0 / 1.273 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.9203, allocations: 4 kB / 1.273 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.9205, allocations: 55.95 kB / 1.273 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008271/0.9213, allocations: 0.5163 MB / 1.273 GB, free: 284 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.9215, allocations: 137.1 kB / 1.273 GB, free: 128 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.536e-05/0.9216, allocations: 53.69 kB / 1.274 GB, free: 68 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.9217, allocations: 11.94 kB / 1.274 GB, free: 56 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000411/0.9221, allocations: 203.7 kB / 1.274 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 1.382e-06/0.9221, allocations: 0 / 1.274 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22): time 0.0006034/0.9227, allocations: 318.6 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/0.9228, allocations: 89.05 kB / 1.274 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.9229, allocations: 132.7 kB / 1.274 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.762e-05/0.9229, allocations: 37.7 kB / 1.274 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.635e-05/0.923, allocations: 100.6 kB / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.421e-05/0.9231, allocations: 51.62 kB / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.9232, allocations: 73.69 kB / 1.275 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.9234, allocations: 322.8 kB / 1.275 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.9236, allocations: 92.23 kB / 1.275 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.9238, allocations: 165.1 kB / 1.275 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.9241, allocations: 247.3 kB / 1.275 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.9241, allocations: 0 / 1.275 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005937/0.9247, allocations: 363.4 kB / 1.276 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.815e-05/0.9248, allocations: 65.75 kB / 1.276 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.9248, allocations: 0 / 1.276 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.9248, allocations: 7.984 kB / 1.276 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.329e-05/0.9249, allocations: 23.88 kB / 1.276 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.9249, allocations: 4 kB / 1.276 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/0.9253, allocations: 76 kB / 1.276 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.9253, allocations: 12 kB / 1.276 GB, free: 13.55 MB / 0.9825 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.0001401/0.9254, allocations: 144 kB / 1.276 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.9255, allocations: 15.91 kB / 1.276 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.717e-05/0.9255, allocations: 20.48 kB / 1.276 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.9255, allocations: 3.938 kB / 1.276 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.9255, allocations: 0 / 1.276 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.9255, allocations: 8 kB / 1.276 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006819/0.9262, allocations: 0.6109 MB / 1.277 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.9262, allocations: 0 / 1.277 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.967e-05/0.9263, allocations: 8 kB / 1.277 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.9263, allocations: 3.938 kB / 1.277 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.9263, allocations: 11.98 kB / 1.277 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.9263, allocations: 7.938 kB / 1.277 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9263, allocations: 0 / 1.277 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000465/0.9267, allocations: 418.6 kB / 1.277 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.958e-05/0.9268, allocations: 101 kB / 1.277 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.9269, allocations: 15.86 kB / 1.277 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.927, allocations: 15.92 kB / 1.277 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.518e-05/0.9271, allocations: 23.97 kB / 1.277 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.9271, allocations: 15.98 kB / 1.277 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.477e-05/0.9272, allocations: 95.27 kB / 1.277 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9272, allocations: 4 kB / 1.277 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003402/0.9275, allocations: 48 kB / 1.277 GB, free: 11.9 MB / 0.9825 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.0008835/0.9284, allocations: 0.9642 MB / 1.278 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005002/0.9289, allocations: 323.4 kB / 1.279 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9289, allocations: 0 / 1.279 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.929, allocations: 79.91 kB / 1.279 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.9294, allocations: 27.97 kB / 1.279 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.9323, allocations: 2.292 MB / 1.281 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.9327, allocations: 0.7163 MB / 1.282 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.071e-05/0.9328, allocations: 13.55 kB / 1.282 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.739e-05/0.9328, allocations: 39.42 kB / 1.282 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.9328, allocations: 0 / 1.282 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03405/0.9669, allocations: 4.121 MB / 1.286 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/9.163, allocations: 22.89 kB / 1.286 GB, free: 3.203 MB / 0.9825 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.171969344839454]