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.005367/0.005367, allocations: 104.2 kB / 15.74 MB, free: 6.059 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.001334/0.001334, allocations: 196.2 kB / 16.68 MB, free: 5.969 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.294/1.294, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.00209, allocations: 287 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9304/0.9304, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 99.83 kB / 0.6814 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3843, allocations: 86.98 MB / 0.7664 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002322/0.3866, allocations: 1.469 MB / 0.7678 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006515/0.3873, allocations: 440.7 kB / 0.7682 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.3873, allocations: 4 kB / 0.7682 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.341e-05/0.3874, allocations: 3.938 kB / 0.7682 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.021e-05/0.3875, allocations: 15.86 kB / 0.7682 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.3876, allocations: 19.91 kB / 0.7683 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.098e-05/0.3877, allocations: 51.91 kB / 0.7683 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.506e-05/0.3878, allocations: 8 kB / 0.7683 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.13e-05/0.3878, allocations: 23.92 kB / 0.7683 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.966e-05/0.3879, allocations: 23.91 kB / 0.7684 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.3879, allocations: 7.938 kB / 0.7684 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/0.388, allocations: 4 kB / 0.7684 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.388, allocations: 7.984 kB / 0.7684 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.388, allocations: 27.86 kB / 0.7684 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.3881, allocations: 51.62 kB / 0.7685 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3881, allocations: 4 kB / 0.7685 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3881, allocations: 0 / 0.7685 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.3882, allocations: 0 / 0.7685 GB, free: 1.902 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.0004609/0.3886, allocations: 358 kB / 0.7688 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.3887, allocations: 8.031 kB / 0.7688 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.3887, allocations: 8.844 kB / 0.7688 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.3888, allocations: 172.3 kB / 0.769 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3888, allocations: 4.375 kB / 0.769 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.3889, allocations: 8.375 kB / 0.769 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.389, allocations: 61.94 kB / 0.7691 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.389, allocations: 0 / 0.7691 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.389, allocations: 7.984 kB / 0.7691 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.389, allocations: 0 / 0.7691 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.965e-05/0.3891, allocations: 23.98 kB / 0.7691 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.3895, allocations: 300.6 kB / 0.7694 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.378e-05/0.3896, allocations: 58.56 kB / 0.7694 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.092e-05/0.3897, allocations: 24.94 kB / 0.7695 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.006e-06/0.3897, allocations: 0 / 0.7695 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.3898, allocations: 75.42 kB / 0.7695 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 2.645e-06/0.3898, allocations: 3.984 kB / 0.7695 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.000198/0.39, allocations: 105.5 kB / 0.7696 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.3901, allocations: 55.41 kB / 0.7697 GB, free: 484 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.703e-05/0.3902, allocations: 105.8 kB / 0.7698 GB, free: 368 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.3902, allocations: 29.7 kB / 0.7698 GB, free: 332 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.3902, allocations: 84.14 kB / 0.7699 GB, free: 244 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.3903, allocations: 23.69 kB / 0.7699 GB, free: 220 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.3903, allocations: 29.72 kB / 0.7699 GB, free: 184 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3904, allocations: 322.8 kB / 0.7703 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.213e-05/0.3905, allocations: 12.38 kB / 0.7703 GB, free: 15.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.039e-05/0.3905, allocations: 55.36 kB / 0.7703 GB, free: 15.78 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.126e-05/0.3906, allocations: 71.36 kB / 0.7704 GB, free: 15.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3906, allocations: 0 / 0.7704 GB, free: 15.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001298/0.3908, allocations: 101.4 kB / 0.7705 GB, free: 15.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.3908, allocations: 4 kB / 0.7705 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3908, allocations: 8.031 kB / 0.7705 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.3908, allocations: 0 / 0.7705 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.591e-05/0.3909, allocations: 8 kB / 0.7705 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3909, allocations: 0 / 0.7705 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.826e-05/0.391, allocations: 19.92 kB / 0.7705 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.391, allocations: 0 / 0.7705 GB, free: 15.55 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 7.895e-05/0.3911, allocations: 128.7 kB / 0.7706 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-06/0.3911, allocations: 0 / 0.7706 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.3911, allocations: 7.969 kB / 0.7707 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3911, allocations: 8 kB / 0.7707 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3911, allocations: 0 / 0.7707 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.3911, allocations: 3.984 kB / 0.7707 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003686/0.3915, allocations: 354.4 kB / 0.771 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3915, allocations: 0 / 0.771 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.609e-05/0.3916, allocations: 4 kB / 0.771 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3916, allocations: 0 / 0.771 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.3916, allocations: 4 kB / 0.771 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3916, allocations: 3.938 kB / 0.771 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3916, allocations: 4 kB / 0.771 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.3917, allocations: 183.7 kB / 0.7712 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.3918, allocations: 77.11 kB / 0.7713 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.3918, allocations: 8 kB / 0.7713 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.61e-05/0.3919, allocations: 11.98 kB / 0.7713 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.3919, allocations: 11.97 kB / 0.7713 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.392, allocations: 4 kB / 0.7713 GB, free: 14.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.283e-05/0.392, allocations: 87.28 kB / 0.7714 GB, free: 14.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.392, allocations: 4.125 kB / 0.7714 GB, free: 14.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002319/0.3922, allocations: 16 kB / 0.7714 GB, free: 14.55 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 8.022e-05/0.3923, allocations: 107.1 kB / 0.7715 GB, free: 14.44 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.3925, allocations: 55.86 kB / 0.7716 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.3925, allocations: 0 / 0.7716 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.882e-05/0.3925, allocations: 31.92 kB / 0.7716 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.3928, allocations: 12.06 kB / 0.7716 GB, free: 14.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.3931, allocations: 145.5 kB / 0.7717 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.3933, allocations: 0.6846 MB / 0.7724 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.636e-05/0.3933, allocations: 7.984 kB / 0.7724 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.3934, allocations: 15.44 kB / 0.7724 GB, free: 13.44 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.3934, allocations: 0 / 0.7724 GB, free: 13.44 MB / 0.545 GB Notification: Performance of Templates: time 0.00271/0.3961, allocations: 0.7825 MB / 0.7732 GB, free: 12.66 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)