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.001586/0.001586, allocations: 108 kB / 16.41 MB, free: 6.508 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.00169/0.00169, allocations: 184 kB / 17.34 MB, free: 5.738 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.439/1.439, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002559/0.002559, allocations: 287.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.022/1.022, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004084/0.004084, allocations: 99.84 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4642/0.4683, allocations: 86.97 MB / 0.767 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002707/0.471, allocations: 1.476 MB / 0.7685 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007561/0.4718, allocations: 448.8 kB / 0.7689 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.132e-05/0.4718, allocations: 0 / 0.7689 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.4718, allocations: 3.938 kB / 0.7689 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.169e-05/0.4719, allocations: 7.922 kB / 0.7689 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.4721, allocations: 27.91 kB / 0.769 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.758e-05/0.4722, allocations: 51.86 kB / 0.769 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.687e-05/0.4723, allocations: 11.98 kB / 0.769 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.554e-05/0.4723, allocations: 31.84 kB / 0.769 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.081e-05/0.4724, allocations: 15.92 kB / 0.7691 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.4724, allocations: 4 kB / 0.7691 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.4724, allocations: 4 kB / 0.7691 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.454e-05/0.4724, allocations: 11.98 kB / 0.7691 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.4725, allocations: 27.86 kB / 0.7691 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.4726, allocations: 43.67 kB / 0.7691 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4726, allocations: 4 kB / 0.7691 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4726, allocations: 0 / 0.7691 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.4726, allocations: 3.938 kB / 0.7692 GB, free: 1.801 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.0005551/0.4732, allocations: 365.2 kB / 0.7695 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.4732, allocations: 11.97 kB / 0.7695 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.4732, allocations: 8.891 kB / 0.7695 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.4734, allocations: 164.3 kB / 0.7697 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.4734, allocations: 12.3 kB / 0.7697 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.4734, allocations: 8.375 kB / 0.7697 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.4735, allocations: 58 kB / 0.7698 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.4736, allocations: 0 / 0.7698 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.4736, allocations: 4 kB / 0.7698 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.4736, allocations: 0 / 0.7698 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.446e-05/0.4736, allocations: 27.95 kB / 0.7698 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005081/0.4741, allocations: 304.7 kB / 0.7701 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.4743, allocations: 54.62 kB / 0.7701 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.378e-05/0.4743, allocations: 20.88 kB / 0.7701 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.4743, allocations: 0 / 0.7701 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.4745, allocations: 75.42 kB / 0.7702 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.4745, allocations: 0 / 0.7702 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0002309/0.4747, allocations: 101.6 kB / 0.7703 GB, free: 456 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.4748, allocations: 55.41 kB / 0.7704 GB, free: 388 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.025e-05/0.4748, allocations: 109.8 kB / 0.7705 GB, free: 268 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.4749, allocations: 25.7 kB / 0.7705 GB, free: 236 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/0.4749, allocations: 92.09 kB / 0.7706 GB, free: 140 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.475, allocations: 23.83 kB / 0.7706 GB, free: 116 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.475, allocations: 26.09 kB / 0.7706 GB, free: 84 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4752, allocations: 322.8 kB / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.721e-05/0.4752, allocations: 12 kB / 0.771 GB, free: 15.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.368e-05/0.4753, allocations: 55.36 kB / 0.771 GB, free: 15.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.538e-05/0.4754, allocations: 71.3 kB / 0.7711 GB, free: 15.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4754, allocations: 0 / 0.7711 GB, free: 15.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001455/0.4755, allocations: 93.55 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.4755, allocations: 6.5 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.4755, allocations: 8.031 kB / 0.7712 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.4755, allocations: 64 / 0.7712 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.352e-05/0.4756, allocations: 16 kB / 0.7712 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.4756, allocations: 0 / 0.7712 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.4757, allocations: 19.88 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.4757, allocations: 0 / 0.7712 GB, free: 15.45 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 0.0001035/0.4758, allocations: 131 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.4758, allocations: 0 / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.4758, allocations: 7.969 kB / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.4758, allocations: 8.281 kB / 0.7714 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4758, allocations: 0 / 0.7714 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.4758, allocations: 7.969 kB / 0.7714 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.4763, allocations: 358.4 kB / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.4763, allocations: 0 / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.642e-05/0.4763, allocations: 4 kB / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.4763, allocations: 0 / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.4763, allocations: 4 kB / 0.7717 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.4763, allocations: 3.938 kB / 0.7717 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4763, allocations: 4 kB / 0.7717 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.4765, allocations: 179.5 kB / 0.7719 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.4765, allocations: 81.06 kB / 0.772 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.4765, allocations: 4 kB / 0.772 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.922e-05/0.4766, allocations: 7.922 kB / 0.772 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.4767, allocations: 19.92 kB / 0.772 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.4767, allocations: 192 / 0.772 GB, free: 14.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.713e-05/0.4767, allocations: 83.28 kB / 0.7721 GB, free: 14.47 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4767, allocations: 3.938 kB / 0.7721 GB, free: 14.47 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002406/0.477, allocations: 19.94 kB / 0.7721 GB, free: 14.45 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.801e-05/0.4771, allocations: 99.23 kB / 0.7722 GB, free: 14.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001511/0.4772, allocations: 51.92 kB / 0.7722 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4772, allocations: 0 / 0.7722 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.42e-05/0.4773, allocations: 27.92 kB / 0.7723 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.4775, allocations: 16 kB / 0.7723 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.4779, allocations: 141.5 kB / 0.7724 GB, free: 14.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.4782, allocations: 0.6807 MB / 0.7731 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.839e-05/0.4782, allocations: 7.984 kB / 0.7731 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.4782, allocations: 11.44 kB / 0.7731 GB, free: 13.36 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.4782, allocations: 0 / 0.7731 GB, free: 13.36 MB / 0.545 GB Notification: Performance of Templates: time 0.003239/0.4815, allocations: 0.7896 MB / 0.7739 GB, free: 12.57 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)