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.001759/0.001759, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002241/0.002241, allocations: 217.7 kB / 23.04 MB, free: 5.074 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.8061 GB, free: 26.73 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.002062/0.002062, allocations: 67.97 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.412, allocations: 179 MB / 1.345 GB, free: 428 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002254/0.4142, allocations: 0.745 MB / 1.346 GB, free: 15.67 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.4163, allocations: 1.299 MB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.725e-05/0.4164, allocations: 0 / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.116e-05/0.4164, allocations: 3.938 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.4166, allocations: 27.78 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008898/0.4175, allocations: 245.5 kB / 1.348 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004501/0.4179, allocations: 251.5 kB / 1.348 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.418, allocations: 16.22 kB / 1.348 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.4183, allocations: 99.86 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.4185, allocations: 91.75 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.844e-05/0.4185, allocations: 24 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.4186, allocations: 35.98 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.595e-05/0.4187, allocations: 35.91 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.4188, allocations: 95.73 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003308/0.4192, allocations: 227.6 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.4192, allocations: 0 / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4192, allocations: 0 / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.4192, allocations: 3.938 kB / 1.348 GB, free: 13.23 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.0008021/0.42, allocations: 425.2 kB / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.42, allocations: 12.03 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.833e-05/0.42, allocations: 4.188 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.4201, allocations: 42.73 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.207e-05/0.4202, allocations: 20.88 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005764/0.4207, allocations: 182.6 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.4208, allocations: 20.3 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/0.4208, allocations: 20.36 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.4211, allocations: 143.4 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.4211, allocations: 0 / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.4212, allocations: 0 / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.4212, allocations: 4 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.4213, allocations: 63.94 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009881/0.4223, allocations: 495.7 kB / 1.35 GB, free: 11.69 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.4226, allocations: 137.2 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.4227, allocations: 53.69 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.4227, allocations: 4 kB / 1.35 GB, free: 11.47 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004717/0.4232, allocations: 210.3 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.4232, allocations: 0 / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=22): time 0.0006199/0.4238, allocations: 320.5 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.4239, allocations: 89.11 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.424, allocations: 126.1 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.917e-05/0.424, allocations: 37.7 kB / 1.351 GB, free: 10.65 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.005e-05/0.4241, allocations: 104.7 kB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/0.4242, allocations: 47.64 kB / 1.351 GB, free: 10.5 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.4243, allocations: 77.67 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4245, allocations: 322.8 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.4247, allocations: 84.23 kB / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.4249, allocations: 156.2 kB / 1.351 GB, free: 9.824 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.4252, allocations: 250 kB / 1.352 GB, free: 9.543 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4252, allocations: 0 / 1.352 GB, free: 9.543 MB / 1.045 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006173/0.4259, allocations: 368.8 kB / 1.352 GB, free: 9.164 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.145e-05/0.4259, allocations: 63.41 kB / 1.352 GB, free: 9.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.4259, allocations: 3.984 kB / 1.352 GB, free: 9.086 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.4259, allocations: 7.938 kB / 1.352 GB, free: 9.078 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.468e-05/0.426, allocations: 19.94 kB / 1.352 GB, free: 9.059 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.4261, allocations: 4 kB / 1.352 GB, free: 9.055 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.4264, allocations: 71.75 kB / 1.352 GB, free: 8.984 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.4265, allocations: 16.03 kB / 1.352 GB, free: 8.969 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.0001485/0.4266, allocations: 139.8 kB / 1.352 GB, free: 8.82 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.4266, allocations: 19.84 kB / 1.352 GB, free: 8.801 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.57e-05/0.4267, allocations: 20.42 kB / 1.352 GB, free: 8.781 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4267, allocations: 3.938 kB / 1.352 GB, free: 8.777 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4267, allocations: 4 kB / 1.352 GB, free: 8.773 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.4267, allocations: 3.938 kB / 1.352 GB, free: 8.77 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006877/0.4274, allocations: 0.5827 MB / 1.353 GB, free: 8.137 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4274, allocations: 4 kB / 1.353 GB, free: 8.133 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-05/0.4274, allocations: 11.88 kB / 1.353 GB, free: 8.121 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.4274, allocations: 4 kB / 1.353 GB, free: 8.117 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.4275, allocations: 11.98 kB / 1.353 GB, free: 8.105 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4275, allocations: 0 / 1.353 GB, free: 8.105 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4275, allocations: 0 / 1.353 GB, free: 8.105 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/0.428, allocations: 422.6 kB / 1.353 GB, free: 7.676 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.428, allocations: 15.94 kB / 1.353 GB, free: 7.66 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.428, allocations: 7.938 kB / 1.353 GB, free: 7.652 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.4282, allocations: 19.97 kB / 1.353 GB, free: 7.633 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/0.4282, allocations: 23.91 kB / 1.354 GB, free: 7.609 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.4283, allocations: 15.98 kB / 1.354 GB, free: 7.594 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.489e-05/0.4283, allocations: 97.52 kB / 1.354 GB, free: 7.5 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4283, allocations: 0 / 1.354 GB, free: 7.5 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003689/0.4287, allocations: 67.97 kB / 1.354 GB, free: 7.434 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.0008316/0.4295, allocations: 0.9634 MB / 1.355 GB, free: 6.445 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005591/0.4301, allocations: 318.9 kB / 1.355 GB, free: 6.109 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4301, allocations: 0 / 1.355 GB, free: 6.109 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.4303, allocations: 83.88 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.4306, allocations: 33.69 kB / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/0.4337, allocations: 2.304 MB / 1.357 GB, free: 3.547 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.434, allocations: 0.7048 MB / 1.358 GB, free: 2.816 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.529e-05/0.4341, allocations: 21.42 kB / 1.358 GB, free: 2.797 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.685e-05/0.4342, allocations: 35.42 kB / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of SimCode: time 4.11e-07/0.4342, allocations: 4 kB / 1.358 GB, free: 2.762 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/0.4607, allocations: 4.354 MB / 1.362 GB, free: 14.56 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.69, allocations: 14.27 kB / 1.362 GB, free: 14.55 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.847813997999765] Failed to read output from testmodel.py, exit status != 0: 11.860572550969664 11.887340866 11.463293873 Calling exit ...