Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.001289/0.001289, allocations: 116.8 kB / 17.17 MB, free: 6 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.001487/0.001487, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.468/1.468, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.94/2.94, allocations: 0.5003 GB / 0.8026 GB, free: 6.719 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.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",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.002273/0.002273, allocations: 63.91 kB / 1.165 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.009, allocations: 178.9 MB / 1.34 GB, free: 16.32 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002962/1.012, allocations: 1.504 MB / 1.342 GB, free: 15.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008685/1.013, allocations: 487.7 kB / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.228e-05/1.013, allocations: 1.062 kB / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/1.013, allocations: 1.359 kB / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.432e-05/1.013, allocations: 18.59 kB / 1.342 GB, free: 14.92 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/1.013, allocations: 16.16 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.945e-05/1.013, allocations: 55.5 kB / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/1.013, allocations: 14.97 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.688e-05/1.013, allocations: 22.72 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.881e-05/1.013, allocations: 23.55 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/1.013, allocations: 8.188 kB / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/1.013, allocations: 4.875 kB / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/1.013, allocations: 7.844 kB / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/1.013, allocations: 25.17 kB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/1.014, allocations: 54.14 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.014, allocations: 0 / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.322e-06/1.014, allocations: 0 / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.172e-06/1.014, allocations: 1.062 kB / 1.342 GB, free: 14.8 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005035/1.014, allocations: 360.2 kB / 1.343 GB, free: 14.44 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/1.014, allocations: 11.05 kB / 1.343 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.055e-05/1.014, allocations: 1.438 kB / 1.343 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.597e-05/1.014, allocations: 41.25 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/1.014, allocations: 8.844 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/1.014, allocations: 167.9 kB / 1.343 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/1.014, allocations: 3.125 kB / 1.343 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/1.014, allocations: 8.562 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/1.014, allocations: 62.66 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/1.014, allocations: 0 / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/1.014, allocations: 1.609 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/1.015, allocations: 1.219 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.108e-05/1.015, allocations: 26.14 kB / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004538/1.015, allocations: 304.1 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/1.015, allocations: 50.44 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.153e-05/1.015, allocations: 24.75 kB / 1.343 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/1.015, allocations: 2.5 kB / 1.343 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002319/1.015, allocations: 81.25 kB / 1.343 GB, free: 13.72 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/1.015, allocations: 0 / 1.343 GB, free: 13.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.000243/1.016, allocations: 100.7 kB / 1.343 GB, free: 13.66 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/1.016, allocations: 57.67 kB / 1.344 GB, free: 13.6 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.632e-05/1.016, allocations: 102.9 kB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/1.016, allocations: 28.59 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/1.016, allocations: 90.55 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/1.016, allocations: 25.61 kB / 1.344 GB, free: 13.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/1.016, allocations: 32.27 kB / 1.344 GB, free: 13.33 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.829e-05/1.016, allocations: 318.2 kB / 1.344 GB, free: 13.01 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.627e-05/1.016, allocations: 15.58 kB / 1.344 GB, free: 13.01 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.353e-05/1.016, allocations: 49.17 kB / 1.344 GB, free: 12.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.192e-05/1.016, allocations: 72.52 kB / 1.344 GB, free: 12.91 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.016, allocations: 0 / 1.344 GB, free: 12.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001325/1.016, allocations: 98.5 kB / 1.344 GB, free: 12.85 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/1.016, allocations: 9.281 kB / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/1.016, allocations: 2.578 kB / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/1.016, allocations: 1.812 kB / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.026e-05/1.016, allocations: 8.5 kB / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/1.016, allocations: 2.453 kB / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.258e-05/1.016, allocations: 17.89 kB / 1.344 GB, free: 12.83 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/1.016, allocations: 4.094 kB / 1.344 GB, free: 12.83 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 6.774e-05/1.017, allocations: 128.2 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/1.017, allocations: 3.484 kB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.161e-05/1.017, allocations: 10.08 kB / 1.345 GB, free: 12.69 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.017, allocations: 1.25 kB / 1.345 GB, free: 12.69 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.017, allocations: 0 / 1.345 GB, free: 12.69 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.017, allocations: 4.734 kB / 1.345 GB, free: 12.69 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/1.017, allocations: 353 kB / 1.345 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.017, allocations: 4.281 kB / 1.345 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.833e-05/1.017, allocations: 3.547 kB / 1.345 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.017, allocations: 2.078 kB / 1.345 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/1.017, allocations: 5.312 kB / 1.345 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.017, allocations: 1.031 kB / 1.345 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.017, allocations: 0 / 1.345 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/1.017, allocations: 191.4 kB / 1.345 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.367e-05/1.017, allocations: 79.19 kB / 1.345 GB, free: 12.1 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/1.017, allocations: 9.828 kB / 1.345 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.836e-05/1.017, allocations: 9.328 kB / 1.345 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/1.017, allocations: 7.406 kB / 1.345 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/1.017, allocations: 6.812 kB / 1.345 GB, free: 12.09 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.795e-05/1.017, allocations: 85.19 kB / 1.345 GB, free: 12.01 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.017, allocations: 0 / 1.345 GB, free: 12.01 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000237/1.018, allocations: 14.94 kB / 1.345 GB, free: 12 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000315/1.018, allocations: 0.7224 MB / 1.346 GB, free: 11.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001524/1.018, allocations: 51.33 kB / 1.346 GB, free: 11.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/1.018, allocations: 1.375 kB / 1.346 GB, free: 11.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.43e-05/1.018, allocations: 26.25 kB / 1.346 GB, free: 11.29 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/1.018, allocations: 9.719 kB / 1.346 GB, free: 11.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/1.019, allocations: 1.365 MB / 1.347 GB, free: 10 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/1.02, allocations: 0.685 MB / 1.348 GB, free: 9.309 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.043e-05/1.02, allocations: 14.92 kB / 1.348 GB, free: 9.301 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/1.02, allocations: 15.53 kB / 1.348 GB, free: 9.289 MB / 1.061 GB Notification: Performance of SimCode: time 6.91e-07/1.02, allocations: 0 / 1.348 GB, free: 9.289 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/1.039, allocations: 1.824 MB / 1.35 GB, free: 8.883 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.101/10.14, allocations: 14.3 kB / 1.35 GB, free: 8.875 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.467690896010026] Failed to read output from testmodel.py, exit status != 0: 10.267964326019865 10.290931249 9.272945889 Calling exit ...