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.001588/0.001588, allocations: 120 kB / 17.17 MB, free: 5.977 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.002196/0.002196, allocations: 214.3 kB / 20.13 MB, free: 3.035 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 / 253.5 MB, free: 15.12 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 2.988/2.988, allocations: 0.5003 GB / 0.8026 GB, free: 6.711 MB / 0.6387 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.002069/0.002069, allocations: 67.91 kB / 1.165 GB, free: 468 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098/1.1, allocations: 178.9 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002736/1.102, allocations: 0.6632 MB / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001955/1.104, allocations: 1.206 MB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.478e-05/1.104, allocations: 1.25 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.208e-05/1.104, allocations: 4.594 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/1.105, allocations: 6.422 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006185/1.105, allocations: 149 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002691/1.105, allocations: 137.3 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/1.106, allocations: 9.031 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/1.106, allocations: 67.14 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/1.106, allocations: 59.75 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/1.106, allocations: 12.69 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.692e-05/1.106, allocations: 23.03 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.903e-05/1.106, allocations: 18.48 kB / 1.342 GB, free: 14.74 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.583e-05/1.106, allocations: 54.48 kB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002417/1.106, allocations: 126.8 kB / 1.343 GB, free: 14.67 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.106, allocations: 1.375 kB / 1.343 GB, free: 14.67 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.745e-06/1.106, allocations: 4.641 kB / 1.343 GB, free: 14.67 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.534e-06/1.106, allocations: 0 / 1.343 GB, free: 14.67 MB / 1.061 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.0006167/1.107, allocations: 422.7 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/1.107, allocations: 11.2 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.56e-05/1.107, allocations: 5.656 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.52e-05/1.107, allocations: 34.91 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/1.107, allocations: 13.22 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/1.107, allocations: 210.2 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/1.107, allocations: 10.83 kB / 1.343 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/1.107, allocations: 16.64 kB / 1.343 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/1.108, allocations: 87.81 kB / 1.343 GB, free: 13.94 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/1.108, allocations: 0 / 1.343 GB, free: 13.94 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/1.108, allocations: 7.344 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/1.108, allocations: 0 / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/1.108, allocations: 41.31 kB / 1.343 GB, free: 13.92 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00067/1.108, allocations: 359.2 kB / 1.344 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/1.109, allocations: 76.77 kB / 1.344 GB, free: 13.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.674e-05/1.109, allocations: 39.28 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/1.109, allocations: 0 / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003923/1.109, allocations: 126.6 kB / 1.344 GB, free: 13.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/1.109, allocations: 4 kB / 1.344 GB, free: 13.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0005552/1.11, allocations: 201.2 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/1.11, allocations: 59.34 kB / 1.344 GB, free: 13.33 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/1.11, allocations: 111.8 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/1.11, allocations: 33.91 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/1.11, allocations: 92.78 kB / 1.344 GB, free: 13.1 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/1.11, allocations: 36.2 kB / 1.345 GB, free: 13.07 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.689e-05/1.11, allocations: 46.02 kB / 1.345 GB, free: 13.04 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.357e-05/1.11, allocations: 328 kB / 1.345 GB, free: 12.72 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/1.11, allocations: 49.34 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/1.11, allocations: 80.23 kB / 1.345 GB, free: 12.65 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/1.111, allocations: 142.3 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.111, allocations: 3.938 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003554/1.111, allocations: 209.2 kB / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/1.111, allocations: 34.52 kB / 1.345 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.111, allocations: 1.625 kB / 1.345 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/1.111, allocations: 1.406 kB / 1.345 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.326e-05/1.111, allocations: 17.55 kB / 1.345 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/1.111, allocations: 7.594 kB / 1.345 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/1.111, allocations: 38.78 kB / 1.345 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/1.111, allocations: 9.969 kB / 1.345 GB, free: 12.37 MB / 1.061 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 9.478e-05/1.111, allocations: 129 kB / 1.346 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/1.111, allocations: 9.812 kB / 1.346 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.498e-05/1.111, allocations: 10.42 kB / 1.346 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/1.111, allocations: 5.594 kB / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.111, allocations: 0 / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.111, allocations: 1.266 kB / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003953/1.112, allocations: 443.2 kB / 1.346 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/1.112, allocations: 0 / 1.346 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.922e-05/1.112, allocations: 5.344 kB / 1.346 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/1.112, allocations: 5.156 kB / 1.346 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/1.112, allocations: 3.531 kB / 1.346 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/1.112, allocations: 1.188 kB / 1.346 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/1.112, allocations: 4.688 kB / 1.346 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/1.112, allocations: 265.1 kB / 1.346 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.655e-05/1.112, allocations: 81.03 kB / 1.346 GB, free: 11.58 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/1.112, allocations: 6.734 kB / 1.346 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/1.112, allocations: 7.453 kB / 1.346 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/1.112, allocations: 18.59 kB / 1.346 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/1.112, allocations: 7.797 kB / 1.346 GB, free: 11.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.117e-05/1.112, allocations: 86.89 kB / 1.346 GB, free: 11.49 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.112, allocations: 5.375 kB / 1.346 GB, free: 11.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000283/1.113, allocations: 36.77 kB / 1.347 GB, free: 11.48 MB / 1.061 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.0005542/1.113, allocations: 0.8038 MB / 1.347 GB, free: 10.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003201/1.114, allocations: 173.8 kB / 1.347 GB, free: 10.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.114, allocations: 8.062 kB / 1.347 GB, free: 10.67 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.43e-05/1.114, allocations: 48.02 kB / 1.348 GB, free: 10.66 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/1.114, allocations: 18.23 kB / 1.348 GB, free: 10.65 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/1.116, allocations: 1.715 MB / 1.349 GB, free: 9.199 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/1.116, allocations: 0.6903 MB / 1.35 GB, free: 8.504 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.378e-05/1.116, allocations: 9.438 kB / 1.35 GB, free: 8.504 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/1.116, allocations: 27.14 kB / 1.35 GB, free: 8.484 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/1.116, allocations: 0 / 1.35 GB, free: 8.484 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/1.136, allocations: 2.839 MB / 1.353 GB, free: 8.012 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.273/9.409, allocations: 10.8 kB / 1.353 GB, free: 8.004 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.163351983996108] Failed to read output from testmodel.py, exit status != 0: 9.536169552011415 9.550474024 8.441695123 Calling exit ...