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.001398/0.001398, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001861/0.001861, allocations: 218.9 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.219/3.219, allocations: 0.49 GB / 0.7959 GB, free: 33.47 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.001983/0.001983, allocations: 58.78 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3713, allocations: 176.1 MB / 1.327 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001892/0.3732, allocations: 0.6792 MB / 1.327 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.3748, allocations: 1.206 MB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.894e-05/0.3748, allocations: 0 / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.3749, allocations: 7.938 kB / 1.329 GB, free: 44 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.961e-05/0.3749, allocations: 7.938 kB / 1.329 GB, free: 36 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.3755, allocations: 148.9 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.3757, allocations: 135.8 kB / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.264e-05/0.3758, allocations: 11.98 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.005e-05/0.3758, allocations: 55.84 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.376, allocations: 55.86 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.376, allocations: 12 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.115e-05/0.3761, allocations: 31.98 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.64e-05/0.3761, allocations: 19.92 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.949e-05/0.3762, allocations: 55.83 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.3764, allocations: 127.9 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3764, allocations: 0 / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3764, allocations: 0 / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3764, allocations: 0 / 1.329 GB, free: 15.39 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.0006006/0.377, allocations: 349.5 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.377, allocations: 11.97 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.682e-05/0.377, allocations: 8.188 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.59e-05/0.3771, allocations: 34.73 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.186e-05/0.3771, allocations: 8.938 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.3775, allocations: 158.5 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.3775, allocations: 8.375 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.3776, allocations: 16.3 kB / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.3777, allocations: 85.77 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3778, allocations: 4 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.3778, allocations: 3.984 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.3778, allocations: 11.92 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.625e-05/0.3779, allocations: 39.97 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005656/0.3784, allocations: 319.7 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.3786, allocations: 78.58 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.262e-05/0.3787, allocations: 40.83 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.3787, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002831/0.379, allocations: 128.3 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.379, allocations: 0 / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.000395/0.3794, allocations: 206.8 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.3794, allocations: 55.41 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.147e-05/0.3795, allocations: 110 kB / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.3796, allocations: 37.69 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.3796, allocations: 96.08 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.3796, allocations: 19.86 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.731e-05/0.3797, allocations: 49.69 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3799, allocations: 322.8 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.38, allocations: 47.98 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.3801, allocations: 92.2 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.3803, allocations: 133.3 kB / 1.332 GB, free: 12.74 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3803, allocations: 0 / 1.332 GB, free: 12.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000354/0.3807, allocations: 223.1 kB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.3807, allocations: 37.69 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3807, allocations: 0 / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3807, allocations: 0 / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.37e-05/0.3808, allocations: 15.94 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.3808, allocations: 4 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.381, allocations: 36.03 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.381, allocations: 15.98 kB / 1.332 GB, free: 12.4 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.000117/0.3812, allocations: 123 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.3812, allocations: 11.94 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/0.3812, allocations: 12.44 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3812, allocations: 4 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.3812, allocations: 7.938 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3812, allocations: 3.938 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.3817, allocations: 405.5 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3817, allocations: 0 / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.984e-05/0.3817, allocations: 4 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3817, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.3817, allocations: 7.984 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3817, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.3817, allocations: 7.875 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.382, allocations: 259.5 kB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.382, allocations: 19.88 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.3821, allocations: 4 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.608e-05/0.3822, allocations: 7.984 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.3822, allocations: 19.91 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.3822, allocations: 8 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.427e-05/0.3823, allocations: 83.27 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3823, allocations: 0 / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002756/0.3826, allocations: 32 kB / 1.333 GB, free: 11.32 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.0006672/0.3832, allocations: 0.8053 MB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003213/0.3836, allocations: 179.2 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3836, allocations: 0 / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.3837, allocations: 55.89 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.3839, allocations: 24.17 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.3859, allocations: 1.705 MB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.3862, allocations: 0.6924 MB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.349e-05/0.3863, allocations: 8.484 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.695e-05/0.3863, allocations: 27.38 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3863, allocations: 0 / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02405/0.4104, allocations: 2.99 MB / 1.339 GB, free: 4.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.53, allocations: 13.78 kB / 1.339 GB, free: 4.812 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.48036210599821] Failed to read output from testmodel.py, exit status != 0: 11.685715562023688 11.704783324 11.324022825 Calling exit ...