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.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.00134/0.00134, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.002022/0.002022, allocations: 216.3 kB / 23.02 MB, free: 4.945 MB / 14.72 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 1.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.337/3.337, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 66.22 kB / 1.171 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4155, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002186/0.4177, allocations: 0.7193 MB / 1.346 GB, free: 15.25 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.4196, allocations: 1.276 MB / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.264e-05/0.4197, allocations: 0 / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.382e-05/0.4197, allocations: 3.938 kB / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.562e-05/0.4198, allocations: 23.78 kB / 1.347 GB, free: 13.93 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007523/0.4205, allocations: 254.3 kB / 1.348 GB, free: 13.69 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003528/0.4209, allocations: 251.5 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.421, allocations: 12.23 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.4212, allocations: 103.8 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.4214, allocations: 103.7 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.481e-05/0.4214, allocations: 20 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.888e-05/0.4215, allocations: 39.94 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.419e-05/0.4216, allocations: 31.91 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.4217, allocations: 79.81 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.422, allocations: 231.5 kB / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.422, allocations: 0 / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.412e-06/0.422, allocations: 4 kB / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.422, allocations: 0 / 1.348 GB, free: 12.83 MB / 1.045 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.000797/0.4228, allocations: 429.2 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.4229, allocations: 8.031 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.088e-05/0.4229, allocations: 4.188 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.297e-05/0.4229, allocations: 38.73 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.564e-05/0.423, allocations: 20.88 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005926/0.4236, allocations: 190.6 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.4236, allocations: 16.36 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/0.4237, allocations: 16.38 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.424, allocations: 135.4 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.424, allocations: 4 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.424, allocations: 3.984 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.424, allocations: 0 / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.4241, allocations: 63.95 kB / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008165/0.4249, allocations: 459.8 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.4252, allocations: 137.2 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.513e-05/0.4253, allocations: 53.69 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.4253, allocations: 4 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004166/0.4258, allocations: 210.7 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.4258, allocations: 0 / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of matching and sorting (n=22): time 0.0006286/0.4264, allocations: 318.6 kB / 1.35 GB, free: 10.58 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.4265, allocations: 81.11 kB / 1.35 GB, free: 10.48 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.4266, allocations: 131.2 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/0.4266, allocations: 37.7 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.4267, allocations: 100.6 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.946e-05/0.4268, allocations: 55.78 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.4269, allocations: 74.05 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.4271, allocations: 326.8 kB / 1.351 GB, free: 9.734 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.4273, allocations: 151.6 kB / 1.351 GB, free: 9.57 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.4276, allocations: 215.5 kB / 1.351 GB, free: 9.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.4279, allocations: 249.7 kB / 1.352 GB, free: 9.039 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4279, allocations: 0 / 1.352 GB, free: 9.039 MB / 1.045 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006582/0.4286, allocations: 428.1 kB / 1.352 GB, free: 8.59 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.196e-05/0.4286, allocations: 63.41 kB / 1.352 GB, free: 8.516 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4286, allocations: 0 / 1.352 GB, free: 8.516 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.4286, allocations: 7.938 kB / 1.352 GB, free: 8.508 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.4288, allocations: 23.92 kB / 1.352 GB, free: 8.484 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.4288, allocations: 8.156 kB / 1.352 GB, free: 8.477 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/0.4291, allocations: 75.81 kB / 1.352 GB, free: 8.402 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/0.4292, allocations: 16 kB / 1.352 GB, free: 8.387 MB / 1.045 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.0001473/0.4293, allocations: 139.8 kB / 1.352 GB, free: 8.238 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.4293, allocations: 15.91 kB / 1.352 GB, free: 8.223 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/0.4294, allocations: 24.42 kB / 1.352 GB, free: 8.199 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4294, allocations: 3.938 kB / 1.352 GB, free: 8.195 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.4294, allocations: 4 kB / 1.352 GB, free: 8.191 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4294, allocations: 0 / 1.352 GB, free: 8.191 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006849/0.4301, allocations: 0.5671 MB / 1.353 GB, free: 7.574 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4301, allocations: 0 / 1.353 GB, free: 7.574 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.916e-05/0.4301, allocations: 15.88 kB / 1.353 GB, free: 7.559 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4301, allocations: 0 / 1.353 GB, free: 7.559 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.4302, allocations: 12.08 kB / 1.353 GB, free: 7.547 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.4302, allocations: 7.938 kB / 1.353 GB, free: 7.539 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4302, allocations: 0 / 1.353 GB, free: 7.539 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004832/0.4307, allocations: 440.5 kB / 1.354 GB, free: 7.094 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.4307, allocations: 7.953 kB / 1.354 GB, free: 7.086 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.4307, allocations: 19.86 kB / 1.354 GB, free: 7.066 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.4309, allocations: 11.98 kB / 1.354 GB, free: 7.055 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.4309, allocations: 23.95 kB / 1.354 GB, free: 7.031 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.431, allocations: 19.98 kB / 1.354 GB, free: 7.012 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.419e-05/0.431, allocations: 91.27 kB / 1.354 GB, free: 6.922 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.431, allocations: 0 / 1.354 GB, free: 6.922 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003775/0.4314, allocations: 59.89 kB / 1.354 GB, free: 6.863 MB / 1.045 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.0008728/0.4323, allocations: 0.9786 MB / 1.355 GB, free: 5.859 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005583/0.4328, allocations: 370 kB / 1.355 GB, free: 5.461 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.4328, allocations: 4 kB / 1.355 GB, free: 5.457 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.433, allocations: 90.25 kB / 1.355 GB, free: 5.371 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.4334, allocations: 29.69 kB / 1.355 GB, free: 5.344 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.4366, allocations: 2.55 MB / 1.358 GB, free: 2.598 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.4367, allocations: 92.78 kB / 1.358 GB, free: 2.484 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.562e-05/0.4368, allocations: 17.48 kB / 1.358 GB, free: 2.469 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.82e-05/0.4368, allocations: 39.42 kB / 1.358 GB, free: 2.43 MB / 1.045 GB Notification: Performance of SimCode: time 9.82e-07/0.4368, allocations: 0 / 1.358 GB, free: 2.43 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.4628, allocations: 4.559 MB / 1.362 GB, free: 14.07 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.78, allocations: 17.53 kB / 1.362 GB, free: 14.05 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.85248371702619] Failed to read output from testmodel.py, exit status != 0: 11.940449439920485 11.956607163 11.531427936 Calling exit ...