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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 105 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 187 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002345/0.002345, allocations: 291.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9891/0.9891, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 88.19 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5789/0.5809, allocations: 86.98 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002796/0.5838, allocations: 1.462 MB / 0.7685 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007526/0.5845, allocations: 444.7 kB / 0.7689 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.498e-05/0.5846, allocations: 0 / 0.7689 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.5846, allocations: 11.94 kB / 0.7689 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.8e-05/0.5848, allocations: 7.938 kB / 0.7689 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.5849, allocations: 19.91 kB / 0.7689 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.8e-05/0.585, allocations: 55.78 kB / 0.769 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.5852, allocations: 11.98 kB / 0.769 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.338e-05/0.5852, allocations: 23.92 kB / 0.769 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.657e-05/0.5853, allocations: 19.92 kB / 0.769 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.5853, allocations: 4 kB / 0.769 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.5853, allocations: 11.94 kB / 0.769 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.5854, allocations: 7.984 kB / 0.769 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.536e-05/0.5854, allocations: 31.86 kB / 0.7691 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.5855, allocations: 43.53 kB / 0.7691 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.5856, allocations: 4 kB / 0.7691 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.097e-06/0.5856, allocations: 0 / 0.7691 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.5856, allocations: 3.938 kB / 0.7691 GB, free: 1.762 MB / 0.5294 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.0005511/0.5861, allocations: 358 kB / 0.7695 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.5862, allocations: 8.031 kB / 0.7695 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.5862, allocations: 16.84 kB / 0.7695 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.5864, allocations: 168.3 kB / 0.7697 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.5864, allocations: 4.375 kB / 0.7697 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.5865, allocations: 8.375 kB / 0.7697 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.5866, allocations: 54 kB / 0.7697 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.5866, allocations: 0 / 0.7697 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.5866, allocations: 4 kB / 0.7697 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.5866, allocations: 0 / 0.7697 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.601e-05/0.5867, allocations: 31.91 kB / 0.7697 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005228/0.5872, allocations: 300.7 kB / 0.77 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.5874, allocations: 58.59 kB / 0.7701 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.843e-05/0.5874, allocations: 24.94 kB / 0.7701 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.5874, allocations: 0 / 0.7701 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.5876, allocations: 71.39 kB / 0.7702 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.5876, allocations: 4 kB / 0.7702 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0002386/0.5879, allocations: 109.7 kB / 0.7703 GB, free: 408 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.5879, allocations: 51.41 kB / 0.7703 GB, free: 344 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.069e-05/0.588, allocations: 109.8 kB / 0.7704 GB, free: 224 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.588, allocations: 29.7 kB / 0.7705 GB, free: 188 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.5881, allocations: 88.12 kB / 0.7706 GB, free: 96 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.5881, allocations: 19.7 kB / 0.7706 GB, free: 76 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.5882, allocations: 33.72 kB / 0.7706 GB, free: 36 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5883, allocations: 318.8 kB / 0.7709 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.374e-05/0.5883, allocations: 16 kB / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-05/0.5884, allocations: 51.36 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.871e-05/0.5885, allocations: 75.47 kB / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5885, allocations: 4 kB / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001361/0.5886, allocations: 93.52 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.5887, allocations: 4 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.5887, allocations: 4 kB / 0.7711 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.5887, allocations: 0 / 0.7711 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.497e-05/0.5888, allocations: 11.94 kB / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.5888, allocations: 0 / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.405e-05/0.5889, allocations: 11.92 kB / 0.7712 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.5889, allocations: 8 kB / 0.7712 GB, free: 15.41 MB / 0.545 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.245e-05/0.589, allocations: 129.8 kB / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.589, allocations: 0 / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.589, allocations: 8.031 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.589, allocations: 8 kB / 0.7713 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.589, allocations: 0 / 0.7713 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.589, allocations: 3.984 kB / 0.7713 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.5894, allocations: 358.3 kB / 0.7717 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5895, allocations: 7.938 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.536e-05/0.5895, allocations: 4 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.5895, allocations: 0 / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.5895, allocations: 4 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.5895, allocations: 3.938 kB / 0.7717 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5895, allocations: 0 / 0.7717 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.5897, allocations: 187.5 kB / 0.7719 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.5897, allocations: 77.11 kB / 0.7719 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.5898, allocations: 8 kB / 0.7719 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.134e-05/0.5898, allocations: 11.92 kB / 0.772 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.5899, allocations: 7.984 kB / 0.772 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.5899, allocations: 4 kB / 0.772 GB, free: 14.51 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.135e-05/0.59, allocations: 83.28 kB / 0.772 GB, free: 14.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.59, allocations: 0 / 0.772 GB, free: 14.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002266/0.5902, allocations: 19.94 kB / 0.7721 GB, free: 14.41 MB / 0.545 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 9.586e-05/0.5903, allocations: 102.5 kB / 0.7722 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.5905, allocations: 56.25 kB / 0.7722 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5905, allocations: 3.938 kB / 0.7722 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.43e-05/0.5905, allocations: 27.98 kB / 0.7722 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.5908, allocations: 12.03 kB / 0.7723 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.5912, allocations: 171.2 kB / 0.7724 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.5915, allocations: 0.6885 MB / 0.7731 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.5915, allocations: 19.44 kB / 0.7731 GB, free: 13.27 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.5915, allocations: 4 kB / 0.7731 GB, free: 13.27 MB / 0.545 GB Notification: Performance of Templates: time 0.002345/0.5939, allocations: 0.8618 MB / 0.774 GB, free: 12.41 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (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 & ./BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)