Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001807/0.001807, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002304/0.002304, allocations: 222.4 kB / 23.03 MB, free: 4.945 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.601/1.601, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.414/3.414, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 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.TimerNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",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.001981/0.001981, allocations: 62.89 kB / 1.171 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3856, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002105/0.3877, allocations: 0.6488 MB / 1.346 GB, free: 15.33 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.3893, allocations: 1.167 MB / 1.347 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.575e-05/0.3893, allocations: 4 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.3894, allocations: 3.938 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.779e-05/0.3894, allocations: 15.91 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.3899, allocations: 143 kB / 1.347 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.3901, allocations: 151.7 kB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.154e-05/0.3902, allocations: 4 kB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.841e-05/0.3903, allocations: 59.89 kB / 1.347 GB, free: 13.78 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.3904, allocations: 55.86 kB / 1.347 GB, free: 13.72 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.3904, allocations: 16 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.306e-05/0.3905, allocations: 24 kB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.537e-05/0.3906, allocations: 23.91 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.688e-05/0.3906, allocations: 43.91 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.3909, allocations: 135.8 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3909, allocations: 0 / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3909, allocations: 0 / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.329e-06/0.3909, allocations: 0 / 1.348 GB, free: 13.48 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005933/0.3915, allocations: 347.8 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.3915, allocations: 8.031 kB / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.552e-05/0.3915, allocations: 8.188 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.662e-05/0.3916, allocations: 42.67 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.3916, allocations: 12.89 kB / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.392, allocations: 150.7 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.392, allocations: 8.375 kB / 1.348 GB, free: 12.85 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.392, allocations: 12.36 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.3922, allocations: 93.64 kB / 1.348 GB, free: 12.74 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3922, allocations: 3.984 kB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3922, allocations: 4 kB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3922, allocations: 4 kB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.289e-05/0.3923, allocations: 35.97 kB / 1.348 GB, free: 12.69 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005546/0.3929, allocations: 307.7 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.3931, allocations: 78.58 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.459e-05/0.3931, allocations: 32.84 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.3931, allocations: 4 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000321/0.3935, allocations: 127.5 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.3935, allocations: 0 / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.000411/0.3939, allocations: 206.2 kB / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.3939, allocations: 59.41 kB / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.491e-05/0.394, allocations: 113.8 kB / 1.349 GB, free: 11.69 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/0.3941, allocations: 33.7 kB / 1.349 GB, free: 11.65 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/0.3941, allocations: 92.08 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.3942, allocations: 27.8 kB / 1.349 GB, free: 11.53 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.3942, allocations: 49.69 kB / 1.349 GB, free: 11.47 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3944, allocations: 322.8 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.3945, allocations: 81.67 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.3947, allocations: 119 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.3949, allocations: 135.7 kB / 1.35 GB, free: 10.77 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3949, allocations: 0 / 1.35 GB, free: 10.77 MB / 1.045 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003823/0.3953, allocations: 244.9 kB / 1.35 GB, free: 10.52 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/0.3953, allocations: 37.69 kB / 1.35 GB, free: 10.47 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3953, allocations: 4.125 kB / 1.35 GB, free: 10.47 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3953, allocations: 4 kB / 1.35 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.572e-05/0.3954, allocations: 11.94 kB / 1.35 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3954, allocations: 0 / 1.35 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.3956, allocations: 43.84 kB / 1.35 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.3956, allocations: 8 kB / 1.35 GB, free: 10.4 MB / 1.045 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 0.0001202/0.3958, allocations: 133.7 kB / 1.351 GB, free: 10.26 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.3958, allocations: 11.95 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.3958, allocations: 12.44 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3958, allocations: 0 / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3958, allocations: 0 / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3958, allocations: 0 / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004525/0.3963, allocations: 403 kB / 1.351 GB, free: 9.793 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3963, allocations: 3.938 kB / 1.351 GB, free: 9.789 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.3963, allocations: 4 kB / 1.351 GB, free: 9.785 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-06/0.3963, allocations: 7.922 kB / 1.351 GB, free: 9.777 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3963, allocations: 4 kB / 1.351 GB, free: 9.773 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3963, allocations: 4 kB / 1.351 GB, free: 9.77 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3963, allocations: 11.88 kB / 1.351 GB, free: 9.758 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.3966, allocations: 267.4 kB / 1.351 GB, free: 9.48 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.348e-05/0.3967, allocations: 11.89 kB / 1.351 GB, free: 9.469 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.3967, allocations: 0 / 1.351 GB, free: 9.469 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.953e-05/0.3968, allocations: 11.98 kB / 1.351 GB, free: 9.457 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.3968, allocations: 15.91 kB / 1.351 GB, free: 9.441 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.3968, allocations: 15.98 kB / 1.351 GB, free: 9.426 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.097e-05/0.3969, allocations: 87.25 kB / 1.351 GB, free: 9.34 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3969, allocations: 0 / 1.351 GB, free: 9.34 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002841/0.3972, allocations: 32 kB / 1.351 GB, free: 9.309 MB / 1.045 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.0006831/0.3979, allocations: 0.8139 MB / 1.352 GB, free: 8.473 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003439/0.3982, allocations: 205 kB / 1.352 GB, free: 8.254 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3982, allocations: 0 / 1.352 GB, free: 8.254 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.3983, allocations: 51.92 kB / 1.352 GB, free: 8.203 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.3986, allocations: 19.92 kB / 1.353 GB, free: 8.184 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.4007, allocations: 1.835 MB / 1.354 GB, free: 6.211 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.036e-05/0.4007, allocations: 75.33 kB / 1.354 GB, free: 6.117 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.947e-05/0.4008, allocations: 4.5 kB / 1.354 GB, free: 6.113 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.4008, allocations: 27.42 kB / 1.354 GB, free: 6.086 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.4008, allocations: 0 / 1.354 GB, free: 6.086 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.4246, allocations: 3.097 MB / 1.357 GB, free: 3.164 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.6, allocations: 6.875 kB / 1.357 GB, free: 3.16 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --stepSize=0.006 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.723798930994235] Failed to read output from testmodel.py, exit status != 0: 11.762598471948877 11.779004933 11.384959874 Calling exit ...