Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.0008186/0.0008186, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008544/0.0008544, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.8833/0.8833, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5613/0.5613, allocations: 114 MB / 373.9 MB, free: 8.73 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 0 / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.584e-05, allocations: 7.969 kB / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001489/0.001515, allocations: 0.6349 MB / 0.5548 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.002669, allocations: 1.178 MB / 0.556 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.872e-05/0.002718, allocations: 0 / 0.556 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.002748, allocations: 0 / 0.556 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.245e-05/0.00282, allocations: 11.88 kB / 0.556 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.003267, allocations: 142.7 kB / 0.5561 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.003441, allocations: 143.7 kB / 0.5563 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.003545, allocations: 15.98 kB / 0.5563 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.003652, allocations: 79.86 kB / 0.5564 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 9.992e-05/0.003752, allocations: 47.86 kB / 0.5564 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.003775, allocations: 12 kB / 0.5564 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.371e-05/0.003839, allocations: 27.97 kB / 0.5564 GB, free: 488 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.003863, allocations: 15.98 kB / 0.5565 GB, free: 472 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.959e-05/0.003922, allocations: 47.89 kB / 0.5565 GB, free: 424 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.004102, allocations: 155.5 kB / 0.5566 GB, free: 268 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.004105, allocations: 0 / 0.5566 GB, free: 268 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.373e-06/0.004107, allocations: 0 / 0.5566 GB, free: 268 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.004111, allocations: 0 / 0.5566 GB, free: 268 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000504/0.004615, allocations: 346.1 kB / 0.557 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.004658, allocations: 8.625 kB / 0.557 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.216e-05/0.00469, allocations: 38.73 kB / 0.557 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.03e-05/0.004731, allocations: 16.83 kB / 0.557 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.004998, allocations: 149.9 kB / 0.5572 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.005019, allocations: 12.36 kB / 0.5572 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.005041, allocations: 16.36 kB / 0.5572 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.005174, allocations: 90.08 kB / 0.5573 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.005182, allocations: 8.172 kB / 0.5573 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.005194, allocations: 4.375 kB / 0.5573 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.005199, allocations: 3.938 kB / 0.5573 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.819e-05/0.005278, allocations: 39.97 kB / 0.5574 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.005671, allocations: 299.8 kB / 0.5576 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.005806, allocations: 74.55 kB / 0.5577 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.366e-05/0.005849, allocations: 36.78 kB / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.005859, allocations: 4 kB / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.006051, allocations: 131.3 kB / 0.5579 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.006052, allocations: 0 / 0.5579 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0003546/0.006407, allocations: 204.3 kB / 0.5581 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.006449, allocations: 59.41 kB / 0.5581 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.905e-05/0.006518, allocations: 110 kB / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.006542, allocations: 37.7 kB / 0.5583 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.00659, allocations: 88.12 kB / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.006617, allocations: 35.73 kB / 0.5584 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/0.006679, allocations: 45.69 kB / 0.5584 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.097e-05/0.006769, allocations: 322.8 kB / 0.5587 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.634e-05/0.006866, allocations: 81.67 kB / 0.5588 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.937e-05/0.006965, allocations: 114 kB / 0.5589 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.007091, allocations: 133.9 kB / 0.559 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.007094, allocations: 4 kB / 0.5591 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002487/0.007343, allocations: 248.9 kB / 0.5593 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.007374, allocations: 37.69 kB / 0.5593 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.007379, allocations: 0 / 0.5593 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.007391, allocations: 4 kB / 0.5593 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.514e-05/0.007446, allocations: 11.94 kB / 0.5593 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.007452, allocations: 0 / 0.5593 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.007558, allocations: 39.91 kB / 0.5594 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.007571, allocations: 8 kB / 0.5594 GB, free: 13.19 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 8.181e-05/0.007653, allocations: 133.8 kB / 0.5595 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.007666, allocations: 15.89 kB / 0.5595 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.007694, allocations: 8.438 kB / 0.5595 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.007696, allocations: 0 / 0.5595 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.007702, allocations: 0 / 0.5595 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.007706, allocations: 3.938 kB / 0.5595 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003161/0.008022, allocations: 408.6 kB / 0.5599 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.008023, allocations: 0 / 0.5599 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.916e-05/0.008043, allocations: 7.938 kB / 0.5599 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.008047, allocations: 3.984 kB / 0.5599 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.008058, allocations: 4 kB / 0.5599 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.00806, allocations: 4 kB / 0.5599 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.008061, allocations: 0 / 0.5599 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.008264, allocations: 267.4 kB / 0.5602 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.008275, allocations: 11.94 kB / 0.5602 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.008295, allocations: 8 kB / 0.5602 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.977e-05/0.008345, allocations: 7.984 kB / 0.5602 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.008403, allocations: 19.97 kB / 0.5602 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-06/0.008412, allocations: 4 kB / 0.5603 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.895e-05/0.00845, allocations: 87.27 kB / 0.5603 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.008451, allocations: 7.938 kB / 0.5603 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002031/0.008654, allocations: 32 kB / 0.5604 GB, free: 12.11 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0005086/0.009162, allocations: 0.8087 MB / 0.5612 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002553/0.009418, allocations: 212.9 kB / 0.5614 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.009419, allocations: 0 / 0.5614 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.375e-05/0.009483, allocations: 51.91 kB / 0.5614 GB, free: 11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.009682, allocations: 18.58 kB / 0.5614 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.01101, allocations: 1.838 MB / 0.5632 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.068e-05/0.01106, allocations: 75.25 kB / 0.5633 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001738/0.01123, allocations: 8.484 kB / 0.5633 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.01127, allocations: 24.5 kB / 0.5633 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of SimCode: time 5.41e-07/0.01127, allocations: 4 kB / 0.5633 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/0.02698, allocations: 3.576 MB / 0.5668 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.953/6.98, allocations: 6.094 kB / 0.5668 GB, free: 5.488 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.41664225421846] Failed to read output from testmodel.py, exit status != 0: 7.062578949145973 7.07360578 7.067578097 Calling exit ...