Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.002071/0.002071, allocations: 124.9 kB / 17.17 MB, free: 5.918 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.002636/0.002636, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.505/1.505, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.808/2.808, allocations: 476.7 MB / 0.7678 GB, free: 9.383 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",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.002/0.002, allocations: 65.78 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9401/0.9421, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003865/0.946, allocations: 1.489 MB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.9471, allocations: 497.3 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.9472, allocations: 5 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.023e-05/0.9472, allocations: 5.016 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.909e-05/0.9473, allocations: 10.28 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.9475, allocations: 17.3 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.9476, allocations: 59.11 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.9478, allocations: 10.55 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.941e-05/0.9478, allocations: 22.8 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.802e-05/0.9479, allocations: 18.86 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.948, allocations: 4.344 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.677e-05/0.948, allocations: 4.344 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.922e-05/0.948, allocations: 17.19 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.778e-05/0.9481, allocations: 29.27 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.9483, allocations: 42.14 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.9483, allocations: 0 / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.354e-06/0.9483, allocations: 0 / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.9483, allocations: 1.125 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007124/0.949, allocations: 361.2 kB / 1.281 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.949, allocations: 9.281 kB / 1.281 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.561e-05/0.9491, allocations: 2.25 kB / 1.281 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.9491, allocations: 37.31 kB / 1.281 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.9491, allocations: 12.23 kB / 1.281 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.9493, allocations: 168.5 kB / 1.282 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.9493, allocations: 10.59 kB / 1.282 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.9494, allocations: 9.453 kB / 1.282 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.9495, allocations: 61.61 kB / 1.282 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.9495, allocations: 0 / 1.282 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.9495, allocations: 0.75 kB / 1.282 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.9495, allocations: 2.094 kB / 1.282 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.779e-05/0.9496, allocations: 26.28 kB / 1.282 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006008/0.9502, allocations: 302.9 kB / 1.282 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.9503, allocations: 55.48 kB / 1.282 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.869e-05/0.9504, allocations: 21.55 kB / 1.282 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.9504, allocations: 0 / 1.282 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.9506, allocations: 78.05 kB / 1.282 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.9506, allocations: 0.5312 kB / 1.282 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0002848/0.9509, allocations: 100.7 kB / 1.282 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.9509, allocations: 58.33 kB / 1.282 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.951, allocations: 107.4 kB / 1.282 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.951, allocations: 27.27 kB / 1.282 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.9511, allocations: 90.84 kB / 1.283 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.9511, allocations: 17.42 kB / 1.283 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-05/0.9512, allocations: 24.11 kB / 1.283 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.9513, allocations: 322.6 kB / 1.283 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.439e-05/0.9514, allocations: 16.22 kB / 1.283 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.653e-05/0.9515, allocations: 51.91 kB / 1.283 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.9516, allocations: 65.36 kB / 1.283 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.9516, allocations: 0.5312 kB / 1.283 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001948/0.9518, allocations: 97.66 kB / 1.283 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.9518, allocations: 5.656 kB / 1.283 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.9518, allocations: 5.625 kB / 1.283 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.9518, allocations: 5.594 kB / 1.283 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.793e-05/0.9519, allocations: 13.8 kB / 1.283 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.9519, allocations: 2.266 kB / 1.283 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.192e-05/0.952, allocations: 13.44 kB / 1.283 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.952, allocations: 4 kB / 1.283 GB, free: 8.262 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.994e-05/0.9521, allocations: 132.1 kB / 1.283 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.9521, allocations: 6.766 kB / 1.283 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.9521, allocations: 6.172 kB / 1.283 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.9521, allocations: 4 kB / 1.283 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.9521, allocations: 5.531 kB / 1.283 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.9521, allocations: 4.594 kB / 1.283 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005067/0.9527, allocations: 360.4 kB / 1.284 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.9527, allocations: 0.9844 kB / 1.284 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.588e-05/0.9527, allocations: 8.25 kB / 1.284 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.9527, allocations: 0.6562 kB / 1.284 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.9527, allocations: 6.234 kB / 1.284 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.9527, allocations: 0 / 1.284 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.9527, allocations: 5.312 kB / 1.284 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.9529, allocations: 178 kB / 1.284 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.953, allocations: 83.3 kB / 1.284 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.953, allocations: 6.547 kB / 1.284 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.408e-05/0.9531, allocations: 4.641 kB / 1.284 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.9532, allocations: 15.12 kB / 1.284 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.9532, allocations: 3.062 kB / 1.284 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.937e-05/0.9532, allocations: 88.62 kB / 1.284 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9532, allocations: 1.312 kB / 1.284 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002332/0.9535, allocations: 14.78 kB / 1.284 GB, free: 7.422 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005393/0.954, allocations: 0.7156 MB / 1.285 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001574/0.9542, allocations: 51.2 kB / 1.285 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9542, allocations: 5.594 kB / 1.285 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.612e-05/0.9542, allocations: 24.48 kB / 1.285 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.9545, allocations: 15.12 kB / 1.285 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.9559, allocations: 1.373 MB / 1.286 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.9562, allocations: 0.6896 MB / 1.287 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.776e-05/0.9563, allocations: 4.812 kB / 1.287 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/0.9563, allocations: 17.45 kB / 1.287 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/0.9563, allocations: 0 / 1.287 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.9743, allocations: 1.815 MB / 1.289 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.56/9.534, allocations: 7.312 kB / 1.289 GB, free: 4.281 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.671874228981324] Failed to read output from testmodel.py, exit status != 0: 9.66279770701658 9.690904447 8.737277872 Calling exit ...