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.001328/0.001328, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.001703/0.001703, allocations: 220 kB / 23.04 MB, free: 5.078 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.449/3.449, allocations: 0.5003 GB / 0.8061 GB, free: 26.83 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.002031/0.002031, allocations: 70.45 kB / 1.171 GB, free: 19.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3602, allocations: 179 MB / 1.345 GB, free: 0.5312 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001987/0.3622, allocations: 0.6709 MB / 1.346 GB, free: 15.86 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001786/0.364, allocations: 1.198 MB / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.162e-05/0.364, allocations: 0 / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.702e-05/0.3641, allocations: 3.938 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.427e-05/0.3642, allocations: 11.86 kB / 1.347 GB, free: 14.63 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006014/0.3648, allocations: 151.9 kB / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.365, allocations: 139.8 kB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3651, allocations: 7.984 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.3652, allocations: 63.89 kB / 1.348 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.3654, allocations: 47.88 kB / 1.348 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.224e-05/0.3654, allocations: 16 kB / 1.348 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.502e-05/0.3655, allocations: 31.97 kB / 1.348 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.173e-05/0.3655, allocations: 23.86 kB / 1.348 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.475e-05/0.3656, allocations: 51.83 kB / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.3658, allocations: 127.9 kB / 1.348 GB, free: 13.99 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3658, allocations: 4 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.324e-06/0.3658, allocations: 0 / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.3658, allocations: 0 / 1.348 GB, free: 13.98 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.0006627/0.3665, allocations: 347.8 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3665, allocations: 8.031 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.588e-05/0.3665, allocations: 4.188 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.3666, allocations: 38.73 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.589e-05/0.3666, allocations: 16.88 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.367, allocations: 150.6 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.367, allocations: 12.31 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.3671, allocations: 16.36 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.3672, allocations: 77.77 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3672, allocations: 4 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.3673, allocations: 7.984 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3673, allocations: 0 / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.397e-05/0.3674, allocations: 35.97 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006162/0.368, allocations: 339.6 kB / 1.349 GB, free: 12.83 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.3682, allocations: 74.55 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.825e-05/0.3682, allocations: 32.84 kB / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.3682, allocations: 7.938 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000322/0.3686, allocations: 131.3 kB / 1.349 GB, free: 12.56 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.3686, allocations: 0 / 1.349 GB, free: 12.56 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0004198/0.369, allocations: 197.6 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.369, allocations: 59.41 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.3691, allocations: 105.8 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.3692, allocations: 33.7 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.064e-05/0.3692, allocations: 100.1 kB / 1.35 GB, free: 12.04 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.3693, allocations: 27.95 kB / 1.35 GB, free: 12.01 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.949e-05/0.3694, allocations: 49.69 kB / 1.35 GB, free: 11.96 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3695, allocations: 326.8 kB / 1.35 GB, free: 11.63 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.3697, allocations: 47.92 kB / 1.35 GB, free: 11.58 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.3698, allocations: 88.25 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.37, allocations: 140.9 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.37, allocations: 0 / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003922/0.3704, allocations: 211.2 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/0.3704, allocations: 37.83 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3705, allocations: 0 / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3705, allocations: 7.938 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.605e-05/0.3706, allocations: 11.98 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.3706, allocations: 0 / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.3708, allocations: 39.86 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.3708, allocations: 11.98 kB / 1.35 GB, free: 10.99 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.0001455/0.371, allocations: 133.7 kB / 1.351 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.371, allocations: 8 kB / 1.351 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.082e-05/0.371, allocations: 12.42 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.371, allocations: 0 / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.371, allocations: 0 / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.371, allocations: 0 / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.3715, allocations: 417.4 kB / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3715, allocations: 0 / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.185e-05/0.3716, allocations: 4 kB / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3716, allocations: 4 kB / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.3716, allocations: 3.984 kB / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3716, allocations: 4 kB / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3716, allocations: 3.938 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.3719, allocations: 259.4 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.107e-05/0.3719, allocations: 3.938 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.3719, allocations: 11.98 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.025e-05/0.372, allocations: 11.97 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.3721, allocations: 19.92 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.3721, allocations: 11.98 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.221e-05/0.3721, allocations: 91.52 kB / 1.351 GB, free: 9.934 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3721, allocations: 0 / 1.351 GB, free: 9.934 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002847/0.3724, allocations: 39.94 kB / 1.351 GB, free: 9.895 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.0006736/0.3731, allocations: 0.7984 MB / 1.352 GB, free: 9.074 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003214/0.3734, allocations: 175.3 kB / 1.352 GB, free: 8.891 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3734, allocations: 0 / 1.352 GB, free: 8.891 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.553e-05/0.3735, allocations: 43.92 kB / 1.352 GB, free: 8.848 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.3738, allocations: 23.91 kB / 1.352 GB, free: 8.824 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.3759, allocations: 1.716 MB / 1.354 GB, free: 6.996 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.3762, allocations: 0.6924 MB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.311e-05/0.3762, allocations: 12.48 kB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.3763, allocations: 23.44 kB / 1.355 GB, free: 6.246 MB / 1.045 GB Notification: Performance of SimCode: time 5.51e-07/0.3763, allocations: 0 / 1.355 GB, free: 6.246 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.4, allocations: 2.974 MB / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.54, allocations: 9.188 kB / 1.358 GB, free: 3.414 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.723594133974984] Failed to read output from testmodel.py, exit status != 0: 11.702000586956274 11.724758568 11.354700836 Calling exit ...