Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001319/0.001319, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00156/0.00156, allocations: 216.9 kB / 22.25 MB, free: 5.082 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.393/1.393, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002504/0.002504, allocations: 283.4 kB / 312.7 MB, free: 2.797 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.205/1.205, allocations: 180.6 MB / 0.5369 GB, free: 12.96 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002815/0.002815, allocations: 107.2 kB / 0.7396 GB, free: 28.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1541, allocations: 95.38 MB / 0.8327 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002795/0.1569, allocations: 1.516 MB / 0.8342 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008375/0.1577, allocations: 492.4 kB / 0.8347 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.215e-05/0.1578, allocations: 0 / 0.8347 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.616e-05/0.1578, allocations: 3.938 kB / 0.8347 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.984e-05/0.1579, allocations: 11.92 kB / 0.8347 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.158, allocations: 23.92 kB / 0.8347 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.545e-05/0.1581, allocations: 47.91 kB / 0.8347 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.087e-05/0.1582, allocations: 11.98 kB / 0.8348 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.102e-05/0.1582, allocations: 27.86 kB / 0.8348 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.878e-05/0.1583, allocations: 19.91 kB / 0.8348 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.1583, allocations: 4 kB / 0.8348 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.072e-05/0.1583, allocations: 7.938 kB / 0.8348 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.1583, allocations: 11.98 kB / 0.8348 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.1584, allocations: 19.88 kB / 0.8348 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.978e-05/0.1585, allocations: 48.08 kB / 0.8349 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1585, allocations: 8 kB / 0.8349 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1585, allocations: 0 / 0.8349 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.1585, allocations: 0 / 0.8349 GB, free: 6.41 MB / 0.5762 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.0004644/0.1589, allocations: 286.2 kB / 0.8352 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.159, allocations: 9.344 kB / 0.8352 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.159, allocations: 34.75 kB / 0.8352 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.159, allocations: 4.938 kB / 0.8352 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.1592, allocations: 114.4 kB / 0.8353 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1592, allocations: 8.375 kB / 0.8353 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.1592, allocations: 8.359 kB / 0.8353 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.1593, allocations: 57.75 kB / 0.8354 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1593, allocations: 0 / 0.8354 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1593, allocations: 12 kB / 0.8354 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1593, allocations: 0 / 0.8354 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.915e-05/0.1594, allocations: 27.91 kB / 0.8354 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.1598, allocations: 279.8 kB / 0.8357 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.1599, allocations: 46.66 kB / 0.8357 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.16, allocations: 24.89 kB / 0.8358 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-06/0.16, allocations: 3.938 kB / 0.8358 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.1601, allocations: 75.38 kB / 0.8358 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.1602, allocations: 0 / 0.8358 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0002121/0.1604, allocations: 101.6 kB / 0.8359 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.1604, allocations: 51.41 kB / 0.836 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.652e-05/0.1605, allocations: 109.8 kB / 0.8361 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.1605, allocations: 29.7 kB / 0.8361 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.1606, allocations: 92.12 kB / 0.8362 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.1606, allocations: 15.8 kB / 0.8362 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/0.1606, allocations: 37.7 kB / 0.8363 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1608, allocations: 322.8 kB / 0.8366 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.43e-05/0.1608, allocations: 19.92 kB / 0.8366 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.92e-05/0.1609, allocations: 47.42 kB / 0.8366 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.577e-05/0.161, allocations: 63.38 kB / 0.8367 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.161, allocations: 0 / 0.8367 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001431/0.1611, allocations: 93.94 kB / 0.8368 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.1611, allocations: 8.031 kB / 0.8368 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1611, allocations: 4 kB / 0.8368 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1611, allocations: 0 / 0.8368 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.66e-05/0.1612, allocations: 15.92 kB / 0.8368 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1612, allocations: 3.938 kB / 0.8368 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.56e-05/0.1613, allocations: 12 kB / 0.8368 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1613, allocations: 3.938 kB / 0.8368 GB, free: 4.211 MB / 0.5762 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.284e-05/0.1614, allocations: 122.5 kB / 0.837 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.1614, allocations: 7.953 kB / 0.837 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.1614, allocations: 8.344 kB / 0.837 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.1614, allocations: 4 kB / 0.837 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1614, allocations: 0 / 0.837 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1614, allocations: 3.984 kB / 0.837 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004161/0.1618, allocations: 341.5 kB / 0.8373 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1618, allocations: 0 / 0.8373 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.388e-05/0.1619, allocations: 7.938 kB / 0.8373 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.1619, allocations: 3.984 kB / 0.8373 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1619, allocations: 8 kB / 0.8373 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1619, allocations: 3.938 kB / 0.8373 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1619, allocations: 0 / 0.8373 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.1621, allocations: 179.4 kB / 0.8375 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.1621, allocations: 7.984 kB / 0.8375 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.1621, allocations: 0 / 0.8375 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-05/0.1622, allocations: 7.938 kB / 0.8375 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.1622, allocations: 15.98 kB / 0.8375 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.1622, allocations: 3.984 kB / 0.8375 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.197e-05/0.1623, allocations: 79.28 kB / 0.8376 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1623, allocations: 0 / 0.8376 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002357/0.1625, allocations: 19.95 kB / 0.8376 GB, free: 3.32 MB / 0.5762 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.0004523/0.163, allocations: 0.7087 MB / 0.8383 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001272/0.1631, allocations: 55.92 kB / 0.8384 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1631, allocations: 0 / 0.8384 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.32e-05/0.1631, allocations: 27.92 kB / 0.8384 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.1634, allocations: 19.91 kB / 0.8384 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.1647, allocations: 1.363 MB / 0.8397 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.165, allocations: 0.6846 MB / 0.8404 GB, free: 320 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.809e-05/0.165, allocations: 7.938 kB / 0.8404 GB, free: 312 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.165, allocations: 19.42 kB / 0.8404 GB, free: 296 kB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.165, allocations: 0 / 0.8404 GB, free: 296 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/0.1913, allocations: 1.929 MB / 0.8423 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/10.37, allocations: 15.55 kB / 0.8423 GB, free: 14.48 MB / 0.5919 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv --start-time -1 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.44483458600007] Failed to read output from testmodel.py, exit status != 0: 10.474567989000207 10.491779906 10.330099085 Calling exit ...