Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001291/0.001291, 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.002269/0.002269, allocations: 217.8 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.147/3.147, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] 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.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_12_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_12_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.002101/0.002101, allocations: 67 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3335, allocations: 176.1 MB / 1.327 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00272/0.3362, allocations: 1.501 MB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0008396/0.3371, allocations: 450.8 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.003e-05/0.3371, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/0.3372, allocations: 3.938 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.191e-05/0.3372, allocations: 11.92 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.3374, allocations: 27.92 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.352e-05/0.3375, allocations: 47.84 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.3376, allocations: 11.98 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.542e-05/0.3376, allocations: 27.97 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.055e-05/0.3377, allocations: 19.86 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.3377, allocations: 4 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.3377, allocations: 7.938 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.609e-05/0.3378, allocations: 15.98 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.3378, allocations: 11.94 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.3379, allocations: 52.02 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3379, allocations: 0 / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3379, allocations: 0 / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3379, allocations: 0 / 1.329 GB, free: 15.31 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004975/0.3384, allocations: 294.1 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3385, allocations: 12.03 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.365e-05/0.3385, allocations: 4.188 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.976e-05/0.3385, allocations: 30.75 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.3385, allocations: 8.891 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.3387, allocations: 110.5 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.3387, allocations: 8.312 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.3387, allocations: 8.359 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.3388, allocations: 53.62 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3388, allocations: 0 / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.3388, allocations: 8 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.3388, allocations: 4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.919e-05/0.3389, allocations: 19.98 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.3393, allocations: 263.8 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.3395, allocations: 50.56 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.288e-05/0.3395, allocations: 24.94 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-06/0.3395, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.3397, allocations: 79.36 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.3397, allocations: 4 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.000231/0.3399, allocations: 105.6 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.34, allocations: 51.41 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.663e-05/0.3401, allocations: 105.8 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.3401, allocations: 29.7 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.3401, allocations: 88.09 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.3402, allocations: 31.75 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.3402, allocations: 29.72 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3403, allocations: 326.8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.389e-05/0.3404, allocations: 12 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.184e-05/0.3404, allocations: 51.36 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.336e-05/0.3405, allocations: 71.59 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3405, allocations: 4 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001396/0.3407, allocations: 97.5 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3407, allocations: 4 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3407, allocations: 4 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3407, allocations: 0 / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.503e-05/0.3408, allocations: 8 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3408, allocations: 0 / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.063e-05/0.3409, allocations: 19.91 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.3409, allocations: 8 kB / 1.331 GB, free: 13.1 MB / 1.029 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 9.633e-05/0.341, allocations: 122.3 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.341, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.341, allocations: 8.062 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.341, allocations: 4 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.341, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.341, allocations: 7.922 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.3414, allocations: 329.8 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3414, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.546e-05/0.3414, allocations: 8 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3415, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.3415, allocations: 3.938 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3415, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3415, allocations: 3.938 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.3416, allocations: 179.5 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.3416, allocations: 7.891 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.3417, allocations: 11.94 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.3417, allocations: 3.984 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.3418, allocations: 11.92 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.3418, allocations: 8 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.329e-05/0.3419, allocations: 83.28 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3419, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002291/0.3421, allocations: 16 kB / 1.331 GB, free: 12.23 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: 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.0004488/0.3425, allocations: 0.7124 MB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.3427, allocations: 55.84 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3427, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.454e-05/0.3427, allocations: 24.22 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.343, allocations: 12.66 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.3443, allocations: 1.374 MB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.043e-05/0.3443, allocations: 63.34 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.658e-05/0.3444, allocations: 7.984 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.3444, allocations: 23.38 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3444, allocations: 4 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.3654, allocations: 1.989 MB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.42, allocations: 14.12 kB / 1.336 GB, free: 7.977 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.018824959988706] Failed to read output from testmodel.py, exit status != 0: 12.576912675984204 12.592816459 12.251822233 Calling exit ...