Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001329/0.001329, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001562/0.001562, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.481/1.481, allocations: 230.6 MB / 253.5 MB, free: 15.13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003713/0.003713, allocations: 284.6 kB / 309.8 MB, free: 3.492 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.093/1.093, allocations: 180.6 MB / 0.5338 GB, free: 12.41 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002848/0.002848, allocations: 101.6 kB / 0.7347 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5404/0.5433, allocations: 95.33 MB / 0.8278 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002439/0.5457, allocations: 1.508 MB / 0.8292 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006715/0.5464, allocations: 484.3 kB / 0.8297 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.5464, allocations: 6.625 kB / 0.8297 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.648e-05/0.5465, allocations: 4.688 kB / 0.8297 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.716e-05/0.5465, allocations: 9.281 kB / 0.8297 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.5467, allocations: 22.27 kB / 0.8297 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.33e-05/0.5468, allocations: 50.66 kB / 0.8298 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.5469, allocations: 11.45 kB / 0.8298 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.795e-05/0.5469, allocations: 22.75 kB / 0.8298 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.259e-05/0.547, allocations: 23.19 kB / 0.8298 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.547, allocations: 2.625 kB / 0.8298 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.547, allocations: 10.72 kB / 0.8298 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.547, allocations: 11.17 kB / 0.8299 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.5471, allocations: 26.16 kB / 0.8299 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.5472, allocations: 51.22 kB / 0.8299 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.5472, allocations: 0 / 0.8299 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5472, allocations: 0 / 0.8299 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.5472, allocations: 0 / 0.8299 GB, free: 1.551 MB / 0.5762 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.0004444/0.5476, allocations: 360.8 kB / 0.8303 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.5477, allocations: 10.09 kB / 0.8303 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.671e-05/0.5477, allocations: 2.812 kB / 0.8303 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.309e-05/0.5477, allocations: 43.11 kB / 0.8303 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.5477, allocations: 3.562 kB / 0.8303 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.823e-05/0.5478, allocations: 172.4 kB / 0.8305 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.5479, allocations: 7.797 kB / 0.8305 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.5479, allocations: 3 kB / 0.8305 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.548, allocations: 62.59 kB / 0.8306 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.548, allocations: 0 / 0.8306 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.548, allocations: 0.8438 kB / 0.8306 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.548, allocations: 2.625 kB / 0.8306 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.896e-05/0.548, allocations: 24.02 kB / 0.8306 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.5485, allocations: 301.2 kB / 0.8309 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.642e-05/0.5486, allocations: 51.47 kB / 0.8309 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.5486, allocations: 18.91 kB / 0.8309 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.5486, allocations: 3.328 kB / 0.8309 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.5488, allocations: 80.34 kB / 0.831 GB, free: 484 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.5488, allocations: 0 / 0.831 GB, free: 484 kB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.000207/0.549, allocations: 100.8 kB / 0.8311 GB, free: 428 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.549, allocations: 58.83 kB / 0.8312 GB, free: 360 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.679e-05/0.549, allocations: 106.2 kB / 0.8313 GB, free: 252 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.5491, allocations: 32.92 kB / 0.8313 GB, free: 216 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.5491, allocations: 91.45 kB / 0.8314 GB, free: 124 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.5491, allocations: 24.03 kB / 0.8314 GB, free: 104 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.5491, allocations: 29.36 kB / 0.8314 GB, free: 80 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.5493, allocations: 316.8 kB / 0.8318 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.521e-05/0.5493, allocations: 24.56 kB / 0.8318 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.732e-05/0.5494, allocations: 41.81 kB / 0.8318 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.497e-05/0.5495, allocations: 75.62 kB / 0.8319 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5495, allocations: 0 / 0.8319 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001439/0.5496, allocations: 98.22 kB / 0.832 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.5496, allocations: 5.25 kB / 0.832 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5497, allocations: 2.625 kB / 0.832 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.5497, allocations: 0.7031 kB / 0.832 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.719e-05/0.5497, allocations: 11.91 kB / 0.832 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.5497, allocations: 0 / 0.832 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.916e-05/0.5498, allocations: 15.33 kB / 0.832 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-06/0.5498, allocations: 10.66 kB / 0.832 GB, free: 15.58 MB / 0.5919 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 0.0001057/0.5499, allocations: 122.4 kB / 0.8321 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.5499, allocations: 7.969 kB / 0.8321 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.55, allocations: 8.672 kB / 0.8322 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.55, allocations: 3.5 kB / 0.8322 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.55, allocations: 0.7031 kB / 0.8322 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.55, allocations: 3.938 kB / 0.8322 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.5504, allocations: 355.7 kB / 0.8325 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5504, allocations: 0 / 0.8325 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.5504, allocations: 6.891 kB / 0.8325 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.5504, allocations: 0 / 0.8325 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.5504, allocations: 3.938 kB / 0.8325 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5504, allocations: 3.984 kB / 0.8325 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5504, allocations: 3.938 kB / 0.8325 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.5506, allocations: 184.2 kB / 0.8327 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.5507, allocations: 83.78 kB / 0.8328 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.5507, allocations: 10.2 kB / 0.8328 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.653e-05/0.5508, allocations: 9.25 kB / 0.8328 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.5508, allocations: 9.016 kB / 0.8328 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.5508, allocations: 0.5625 kB / 0.8328 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.694e-05/0.5509, allocations: 86.27 kB / 0.8329 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5509, allocations: 3.938 kB / 0.8329 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002371/0.5511, allocations: 18.42 kB / 0.8329 GB, free: 14.75 MB / 0.5919 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.000494/0.5516, allocations: 0.7151 MB / 0.8336 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.5517, allocations: 60.3 kB / 0.8337 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5517, allocations: 0 / 0.8337 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.148e-05/0.5518, allocations: 25.97 kB / 0.8337 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.5521, allocations: 8.344 kB / 0.8337 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.5534, allocations: 1.362 MB / 0.835 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.5537, allocations: 0.6889 MB / 0.8357 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.577e-05/0.5537, allocations: 8.516 kB / 0.8357 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.5538, allocations: 21.42 kB / 0.8357 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.5538, allocations: 4 kB / 0.8357 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.5716, allocations: 1.828 MB / 0.8375 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/8.719, allocations: 6.719 kB / 0.8375 GB, free: 11.65 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.748945216997527] Failed to read output from testmodel.py, exit status != 0: 8.845457142975647 8.868763171 8.317016456 Calling exit ...