Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001804/0.001804, 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.002183/0.002183, allocations: 214.6 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.577/1.577, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.292/3.292, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_12_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.002057/0.002057, allocations: 71.09 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3497, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002473/0.3522, allocations: 0.6583 MB / 1.327 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001889/0.3541, allocations: 1.175 MB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.019e-05/0.3541, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.3542, allocations: 3.938 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.381e-05/0.3542, allocations: 23.84 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.3548, allocations: 139.3 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.355, allocations: 139.8 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.636e-05/0.3551, allocations: 8 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.3552, allocations: 59.88 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.3553, allocations: 59.88 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.3553, allocations: 15.94 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-05/0.3554, allocations: 20 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.204e-05/0.3554, allocations: 19.97 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.437e-05/0.3555, allocations: 47.91 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.3558, allocations: 139.8 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3558, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3558, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.3558, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 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.0007556/0.3565, allocations: 343.8 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3566, allocations: 12.03 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.195e-05/0.3566, allocations: 4.188 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.3567, allocations: 38.73 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/0.3567, allocations: 8.938 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004518/0.3572, allocations: 154.6 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.3572, allocations: 16.3 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.3572, allocations: 8.375 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.3574, allocations: 89.69 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3575, allocations: 0 / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.3575, allocations: 12 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.3575, allocations: 0 / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.736e-05/0.3576, allocations: 35.97 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006128/0.3582, allocations: 303.7 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.3584, allocations: 86.47 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.374e-05/0.3584, allocations: 28.84 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.3585, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003203/0.3588, allocations: 148.8 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.3588, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0004205/0.3592, allocations: 201.6 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.3592, allocations: 55.41 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.687e-05/0.3593, allocations: 109.8 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.3594, allocations: 33.7 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.145e-05/0.3595, allocations: 92.09 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.3595, allocations: 23.84 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.616e-05/0.3596, allocations: 49.69 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3598, allocations: 326.8 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.36, allocations: 77.67 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.3601, allocations: 130.8 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.3603, allocations: 131 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3603, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004819/0.3608, allocations: 256.3 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/0.3608, allocations: 37.83 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3609, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.3609, allocations: 4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.814e-05/0.361, allocations: 8 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.361, allocations: 3.984 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.3612, allocations: 35.91 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.3612, allocations: 8 kB / 1.332 GB, free: 11.87 MB / 1.029 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.0001378/0.3614, allocations: 138.2 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.3614, allocations: 7.953 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.3614, allocations: 12.44 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3614, allocations: 3.938 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3614, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3614, allocations: 3.938 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007409/0.3622, allocations: 397.5 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3622, allocations: 4 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.3622, allocations: 7.984 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3622, allocations: 0 / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.3622, allocations: 4 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3622, allocations: 4 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3622, allocations: 7.938 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003964/0.3626, allocations: 267.4 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.3627, allocations: 15.89 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.3627, allocations: 0 / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.135e-05/0.3628, allocations: 7.984 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.3628, allocations: 19.91 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.3629, allocations: 8 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.973e-05/0.3629, allocations: 87.27 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3629, allocations: 0 / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002994/0.3632, allocations: 36 kB / 1.333 GB, free: 10.78 MB / 1.029 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.0007595/0.364, allocations: 0.8187 MB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003817/0.3644, allocations: 206.8 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3644, allocations: 0 / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.3645, allocations: 47.98 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.3648, allocations: 19.92 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.3672, allocations: 1.833 MB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.3673, allocations: 75.33 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.239e-05/0.3674, allocations: 16.42 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/0.3674, allocations: 15.44 kB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/0.3674, allocations: 4 kB / 1.336 GB, free: 7.555 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.399, allocations: 3.107 MB / 1.339 GB, free: 4.637 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.77, allocations: 4.062 kB / 1.339 GB, free: 4.633 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.823403386981227] Failed to read output from testmodel.py, exit status != 0: 11.934103859006427 11.955357851 11.596346802 Calling exit ...