Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.001637/0.001637, allocations: 114 kB / 17.6 MB, free: 4.699 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.001886/0.001886, allocations: 186.7 kB / 20.78 MB, free: 1.539 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.539/1.539, allocations: 225.6 MB / 249.4 MB, free: 3.293 MB / 190.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.798/2.798, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 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.TimerNegativeStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.88 kB / 1.107 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 168.7 MB / 1.272 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001946/1.022, allocations: 0.6759 MB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001356/1.023, allocations: 1.166 MB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.784e-05/1.023, allocations: 0.8438 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.101e-05/1.023, allocations: 5.344 kB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.55e-05/1.023, allocations: 10.03 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005314/1.024, allocations: 145.4 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002129/1.024, allocations: 146.1 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.315e-05/1.024, allocations: 13.16 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.038e-05/1.024, allocations: 54.38 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/1.024, allocations: 55.89 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/1.024, allocations: 13.59 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.418e-05/1.024, allocations: 28.97 kB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.665e-05/1.024, allocations: 19.14 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.734e-05/1.025, allocations: 51.75 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/1.025, allocations: 134.4 kB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/1.025, allocations: 1.156 kB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/1.025, allocations: 0 / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.641e-06/1.025, allocations: 4 kB / 1.274 GB, free: 6.121 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005165/1.025, allocations: 419.3 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/1.025, allocations: 9.594 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.524e-05/1.025, allocations: 38.94 kB / 1.274 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/1.025, allocations: 17.58 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/1.026, allocations: 206.8 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/1.026, allocations: 5.969 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/1.026, allocations: 16.06 kB / 1.275 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/1.026, allocations: 90.98 kB / 1.275 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/1.026, allocations: 1.25 kB / 1.275 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/1.026, allocations: 2.016 kB / 1.275 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/1.026, allocations: 2.281 kB / 1.275 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.201e-05/1.026, allocations: 39.72 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/1.027, allocations: 367.4 kB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/1.027, allocations: 77.91 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.95e-05/1.027, allocations: 31 kB / 1.275 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.126e-06/1.027, allocations: 0.75 kB / 1.275 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002204/1.027, allocations: 140 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/1.027, allocations: 0 / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0003832/1.027, allocations: 192.8 kB / 1.276 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/1.027, allocations: 56.67 kB / 1.276 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.81e-05/1.027, allocations: 114.2 kB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/1.027, allocations: 32.58 kB / 1.276 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/1.028, allocations: 88.14 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/1.028, allocations: 36.95 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.983e-05/1.028, allocations: 48.89 kB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.924e-05/1.028, allocations: 322.2 kB / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/1.028, allocations: 48.92 kB / 1.276 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/1.028, allocations: 88.58 kB / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/1.028, allocations: 137.9 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.028, allocations: 0.75 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003394/1.028, allocations: 212.4 kB / 1.277 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/1.028, allocations: 38.52 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.028, allocations: 3.672 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/1.028, allocations: 1.031 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.871e-05/1.029, allocations: 9.5 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/1.029, allocations: 6.234 kB / 1.277 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/1.029, allocations: 44.34 kB / 1.277 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/1.029, allocations: 9.719 kB / 1.277 GB, free: 3.828 MB / 0.9981 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.304e-05/1.029, allocations: 135.9 kB / 1.277 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/1.029, allocations: 9.578 kB / 1.277 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/1.029, allocations: 14.58 kB / 1.277 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/1.029, allocations: 5.406 kB / 1.277 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.029, allocations: 0.75 kB / 1.277 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.029, allocations: 1.219 kB / 1.277 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003655/1.029, allocations: 435.9 kB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.029, allocations: 0 / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.025e-05/1.029, allocations: 4.25 kB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/1.029, allocations: 0.6875 kB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/1.029, allocations: 10.34 kB / 1.277 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.029, allocations: 5.031 kB / 1.277 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.029, allocations: 0.9062 kB / 1.277 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/1.03, allocations: 262.8 kB / 1.278 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/1.03, allocations: 85.23 kB / 1.278 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/1.03, allocations: 4.469 kB / 1.278 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.321e-05/1.03, allocations: 13.84 kB / 1.278 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/1.03, allocations: 14.66 kB / 1.278 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/1.03, allocations: 12.94 kB / 1.278 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.844e-05/1.03, allocations: 86.14 kB / 1.278 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.03, allocations: 0 / 1.278 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002808/1.03, allocations: 33.56 kB / 1.278 GB, free: 2.934 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: 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.0005/1.031, allocations: 0.8048 MB / 1.279 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003041/1.031, allocations: 182 kB / 1.279 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.031, allocations: 0 / 1.279 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.392e-05/1.031, allocations: 48.05 kB / 1.279 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/1.031, allocations: 21.89 kB / 1.279 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/1.033, allocations: 1.714 MB / 1.281 GB, free: 16.66 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/1.033, allocations: 0.6936 MB / 1.281 GB, free: 15.96 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.621e-05/1.033, allocations: 9.266 kB / 1.281 GB, free: 15.96 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/1.033, allocations: 26.94 kB / 1.281 GB, free: 15.94 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/1.033, allocations: 0 / 1.281 GB, free: 15.94 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02734/1.061, allocations: 2.78 MB / 1.284 GB, free: 15.47 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.197/9.257, allocations: 10.58 kB / 1.284 GB, free: 15.47 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.csv --start-time -10 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.628659095993498] Failed to read output from testmodel.py, exit status != 0: 9.325768049020553 9.347347314 8.318775273 Calling exit ...