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.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.001344/0.001344, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001617/0.001617, allocations: 218.2 kB / 23.03 MB, free: 4.922 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.553/1.553, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.862/2.862, allocations: 476.8 MB / 0.7715 GB, free: 3.926 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_11_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.002114/0.002114, allocations: 67.59 kB / 1.118 GB, free: 39.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3698, allocations: 170 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002082/0.3719, allocations: 0.6547 MB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.3736, allocations: 1.18 MB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.3736, allocations: 0 / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.3737, allocations: 0 / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.813e-05/0.3738, allocations: 19.84 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005918/0.3744, allocations: 138.4 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.3746, allocations: 139.8 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.705e-05/0.3747, allocations: 11.52 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.3748, allocations: 55.89 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.3749, allocations: 59.86 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.375, allocations: 12 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-05/0.3751, allocations: 27.94 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.607e-05/0.3751, allocations: 23.91 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.39e-05/0.3752, allocations: 43.91 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.3754, allocations: 137 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3754, allocations: 4 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3754, allocations: 0 / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3754, allocations: 0 / 1.287 GB, free: 8.16 MB / 0.9825 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.0006497/0.3761, allocations: 343.8 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3761, allocations: 12.03 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.143e-05/0.3761, allocations: 4.188 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.122e-05/0.3762, allocations: 38.73 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.504e-05/0.3762, allocations: 12.94 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.3766, allocations: 154.6 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.3766, allocations: 4.375 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.3767, allocations: 12.36 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.3769, allocations: 89.7 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.3769, allocations: 0 / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.3769, allocations: 7.984 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3769, allocations: 4 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.666e-05/0.377, allocations: 43.91 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005741/0.3776, allocations: 299.8 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.3777, allocations: 78.55 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.447e-05/0.3778, allocations: 28.84 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.3778, allocations: 3.938 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003009/0.3781, allocations: 136.2 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.3781, allocations: 0 / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0004185/0.3785, allocations: 212.8 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.3786, allocations: 55.41 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.3787, allocations: 109.8 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.3787, allocations: 33.7 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.836e-05/0.3788, allocations: 88.14 kB / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.3788, allocations: 35.73 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.832e-05/0.3789, allocations: 45.69 kB / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3791, allocations: 326.8 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.3792, allocations: 81.67 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.3794, allocations: 114 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.3796, allocations: 133.9 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3796, allocations: 0 / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003948/0.38, allocations: 240.9 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.852e-05/0.38, allocations: 41.81 kB / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.38, allocations: 0 / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.38, allocations: 4 kB / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.424e-05/0.3801, allocations: 8 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3801, allocations: 7.938 kB / 1.289 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.3803, allocations: 39.84 kB / 1.289 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.3803, allocations: 12 kB / 1.289 GB, free: 5.09 MB / 0.9825 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.0001208/0.3805, allocations: 129.8 kB / 1.289 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.3805, allocations: 7.953 kB / 1.289 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.3805, allocations: 12.44 kB / 1.289 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.3805, allocations: 7.984 kB / 1.289 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3805, allocations: 0 / 1.289 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3805, allocations: 3.938 kB / 1.289 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.381, allocations: 404.6 kB / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.381, allocations: 0 / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.963e-05/0.381, allocations: 4 kB / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.381, allocations: 7.984 kB / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.381, allocations: 8 kB / 1.29 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.381, allocations: 0 / 1.29 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.381, allocations: 3.938 kB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.3814, allocations: 267.4 kB / 1.29 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.3814, allocations: 11.88 kB / 1.29 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.3814, allocations: 8 kB / 1.29 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.938e-05/0.3815, allocations: 7.984 kB / 1.29 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.3815, allocations: 15.91 kB / 1.29 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.3816, allocations: 12 kB / 1.29 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.939e-05/0.3816, allocations: 87.27 kB / 1.29 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3816, allocations: 0 / 1.29 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000279/0.3819, allocations: 36 kB / 1.29 GB, free: 4.004 MB / 0.9825 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.0006867/0.3826, allocations: 0.809 MB / 1.291 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003465/0.3829, allocations: 205 kB / 1.291 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3829, allocations: 0 / 1.291 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.383, allocations: 55.91 kB / 1.291 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.3833, allocations: 23.92 kB / 1.291 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.3854, allocations: 1.829 MB / 1.293 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.9e-05/0.3855, allocations: 75.33 kB / 1.293 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.199e-05/0.3855, allocations: 8.5 kB / 1.293 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.285e-05/0.3856, allocations: 23.42 kB / 1.293 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.3856, allocations: 7.938 kB / 1.293 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.4112, allocations: 3.093 MB / 1.296 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.64, allocations: 9.484 kB / 1.296 GB, free: 13.86 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --stepSize=0.006 --timeout=400 --tolerance=1e-06 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: 18.781316698063165] Failed to read output from testmodel.py, exit status != 0: 12.498103463090956 11.824161112 11.445384882 Calling exit ...