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.001727/0.001727, allocations: 100.1 kB / 16.27 MB, free: 6.414 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.002072/0.002072, allocations: 188.7 kB / 17.2 MB, free: 5.953 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.425/1.425, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002251/0.002251, allocations: 293.2 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9794/0.9794, allocations: 169.3 MB / 0.4988 GB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 101.6 kB / 0.5959 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2097, allocations: 86.97 MB / 0.6808 GB, free: 8.195 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003927/0.2137, allocations: 1.463 MB / 0.6823 GB, free: 6.711 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.2148, allocations: 442.9 kB / 0.6827 GB, free: 6.273 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.898e-05/0.2149, allocations: 0 / 0.6827 GB, free: 6.273 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.334e-05/0.2151, allocations: 3.938 kB / 0.6827 GB, free: 6.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.2152, allocations: 11.92 kB / 0.6827 GB, free: 6.258 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.2154, allocations: 23.91 kB / 0.6827 GB, free: 6.234 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.2155, allocations: 39.92 kB / 0.6828 GB, free: 6.195 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.2157, allocations: 19.98 kB / 0.6828 GB, free: 6.176 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.667e-05/0.2158, allocations: 23.86 kB / 0.6828 GB, free: 6.152 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.409e-05/0.2158, allocations: 19.91 kB / 0.6828 GB, free: 6.133 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.2159, allocations: 4 kB / 0.6828 GB, free: 6.129 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.514e-05/0.2159, allocations: 4 kB / 0.6828 GB, free: 6.125 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.2159, allocations: 19.92 kB / 0.6828 GB, free: 6.105 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.216, allocations: 15.94 kB / 0.6829 GB, free: 6.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.2161, allocations: 60.02 kB / 0.6829 GB, free: 6.031 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2162, allocations: 0 / 0.6829 GB, free: 6.031 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2162, allocations: 0 / 0.6829 GB, free: 6.031 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.2162, allocations: 0 / 0.6829 GB, free: 6.031 MB / 494.1 MB 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.0006828/0.2169, allocations: 359.4 kB / 0.6833 GB, free: 5.633 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.2169, allocations: 8.031 kB / 0.6833 GB, free: 5.625 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.718e-05/0.217, allocations: 8.938 kB / 0.6833 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.2172, allocations: 172.3 kB / 0.6834 GB, free: 5.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.2172, allocations: 384 / 0.6834 GB, free: 5.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.2172, allocations: 8.375 kB / 0.6834 GB, free: 5.402 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.2174, allocations: 69.86 kB / 0.6835 GB, free: 5.328 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2174, allocations: 0 / 0.6835 GB, free: 5.328 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.2175, allocations: 3.984 kB / 0.6835 GB, free: 5.324 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2175, allocations: 0 / 0.6835 GB, free: 5.324 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.2176, allocations: 27.98 kB / 0.6835 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006345/0.2182, allocations: 300.7 kB / 0.6838 GB, free: 4.953 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.2183, allocations: 54.59 kB / 0.6839 GB, free: 4.891 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.2184, allocations: 20.92 kB / 0.6839 GB, free: 4.867 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.2184, allocations: 4 kB / 0.6839 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.2187, allocations: 84.08 kB / 0.684 GB, free: 4.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.944e-06/0.2187, allocations: 0 / 0.684 GB, free: 4.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002886/0.219, allocations: 97.61 kB / 0.6841 GB, free: 4.668 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/0.2191, allocations: 51.41 kB / 0.6841 GB, free: 4.605 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.2192, allocations: 109.8 kB / 0.6842 GB, free: 4.488 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.2192, allocations: 29.7 kB / 0.6843 GB, free: 4.453 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.2193, allocations: 84.14 kB / 0.6843 GB, free: 4.367 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.2193, allocations: 27.64 kB / 0.6844 GB, free: 4.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.2194, allocations: 33.7 kB / 0.6844 GB, free: 4.301 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2195, allocations: 318.8 kB / 0.6847 GB, free: 3.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.913e-05/0.2195, allocations: 23.92 kB / 0.6847 GB, free: 3.957 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.852e-05/0.2196, allocations: 43.42 kB / 0.6848 GB, free: 3.902 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.781e-05/0.2197, allocations: 63.38 kB / 0.6848 GB, free: 3.828 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2197, allocations: 4 kB / 0.6848 GB, free: 3.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001458/0.2198, allocations: 93.55 kB / 0.6849 GB, free: 3.727 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.2199, allocations: 10.56 kB / 0.6849 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.2199, allocations: 0 / 0.6849 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2199, allocations: 0 / 0.6849 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.9e-05/0.22, allocations: 11.98 kB / 0.6849 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.22, allocations: 7.938 kB / 0.685 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.177e-05/0.2201, allocations: 11.91 kB / 0.685 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.2201, allocations: 4 kB / 0.685 GB, free: 3.684 MB / 494.1 MB 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.0001013/0.2202, allocations: 130 kB / 0.6851 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.2202, allocations: 4 kB / 0.6851 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/0.2203, allocations: 12.02 kB / 0.6851 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2203, allocations: 4 kB / 0.6851 GB, free: 3.527 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2203, allocations: 0 / 0.6851 GB, free: 3.527 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2203, allocations: 0 / 0.6851 GB, free: 3.527 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.2207, allocations: 362.3 kB / 0.6855 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2207, allocations: 4 kB / 0.6855 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.94e-05/0.2207, allocations: 7.984 kB / 0.6855 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2208, allocations: 0 / 0.6855 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.2208, allocations: 4 kB / 0.6855 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2208, allocations: 3.938 kB / 0.6855 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2208, allocations: 0 / 0.6855 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.2209, allocations: 175.5 kB / 0.6856 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/0.221, allocations: 85.02 kB / 0.6857 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.221, allocations: 8 kB / 0.6857 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.494e-05/0.2211, allocations: 11.92 kB / 0.6857 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.2212, allocations: 4 kB / 0.6857 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.2212, allocations: 0 / 0.6857 GB, free: 2.785 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.062e-05/0.2212, allocations: 91.2 kB / 0.6858 GB, free: 2.695 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2212, allocations: 3.938 kB / 0.6858 GB, free: 2.691 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000234/0.2215, allocations: 16 kB / 0.6859 GB, free: 2.676 MB / 494.1 MB 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.0001089/0.2216, allocations: 102.2 kB / 0.686 GB, free: 2.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001585/0.2218, allocations: 60.09 kB / 0.686 GB, free: 2.512 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2218, allocations: 3.938 kB / 0.686 GB, free: 2.508 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.379e-05/0.2218, allocations: 23.94 kB / 0.686 GB, free: 2.484 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.2221, allocations: 15.98 kB / 0.6861 GB, free: 2.469 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003683/0.2225, allocations: 167.3 kB / 0.6862 GB, free: 2.273 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.2228, allocations: 0.6894 MB / 0.6869 GB, free: 1.559 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.2228, allocations: 11.44 kB / 0.6869 GB, free: 1.547 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2228, allocations: 0 / 0.6869 GB, free: 1.547 MB / 494.1 MB Notification: Performance of Templates: time 0.00247/0.2253, allocations: 0.8719 MB / 0.6877 GB, free: 0.6836 MB / 494.1 MB 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)