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.001313/0.001318, allocations: 106.9 kB / 15.99 MB, free: 6.363 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.001346/0.001346, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.474/1.474, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002626/0.002626, allocations: 291.5 kB / 291 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.264/1.264, allocations: 178.5 MB / 0.5076 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002777/0.002777, allocations: 111.8 kB / 0.6066 GB, free: 9.672 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1937, allocations: 89.13 MB / 0.6936 GB, free: 468 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003156/0.1969, allocations: 1.534 MB / 0.6951 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007873/0.1977, allocations: 435 kB / 0.6955 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.1978, allocations: 8 kB / 0.6955 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.456e-05/0.1979, allocations: 7.922 kB / 0.6955 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.343e-05/0.198, allocations: 3.938 kB / 0.6955 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.1982, allocations: 15.98 kB / 0.6956 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.1983, allocations: 43.92 kB / 0.6956 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1984, allocations: 23.91 kB / 0.6956 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.363e-05/0.1985, allocations: 19.92 kB / 0.6956 GB, free: 14.35 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.545e-05/0.1985, allocations: 19.86 kB / 0.6957 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.1986, allocations: 8 kB / 0.6957 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.356e-05/0.1986, allocations: 4 kB / 0.6957 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.897e-05/0.1986, allocations: 15.98 kB / 0.6957 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.27e-05/0.1987, allocations: 19.88 kB / 0.6957 GB, free: 14.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.832e-05/0.1988, allocations: 32.16 kB / 0.6957 GB, free: 14.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1988, allocations: 4 kB / 0.6957 GB, free: 14.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1988, allocations: 0 / 0.6957 GB, free: 14.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.1988, allocations: 3.938 kB / 0.6958 GB, free: 14.24 MB / 0.545 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.0005973/0.1994, allocations: 355.5 kB / 0.6961 GB, free: 13.85 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1995, allocations: 16.03 kB / 0.6961 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.1995, allocations: 4.844 kB / 0.6961 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.1997, allocations: 172.3 kB / 0.6963 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1997, allocations: 8.312 kB / 0.6963 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.1997, allocations: 4.375 kB / 0.6963 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.1998, allocations: 61.98 kB / 0.6963 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1999, allocations: 0 / 0.6963 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1999, allocations: 0 / 0.6963 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1999, allocations: 0 / 0.6963 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.803e-05/0.2, allocations: 27.98 kB / 0.6964 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.2005, allocations: 300.7 kB / 0.6967 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.2006, allocations: 54.56 kB / 0.6967 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.365e-05/0.2007, allocations: 28.94 kB / 0.6967 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.2007, allocations: 7.984 kB / 0.6967 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.2009, allocations: 75.41 kB / 0.6968 GB, free: 12.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.201, allocations: 0 / 0.6968 GB, free: 12.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0002469/0.2012, allocations: 97.61 kB / 0.6969 GB, free: 12.88 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.2013, allocations: 55.41 kB / 0.697 GB, free: 12.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.2014, allocations: 113.8 kB / 0.6971 GB, free: 12.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.2014, allocations: 29.7 kB / 0.6971 GB, free: 12.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/0.2015, allocations: 92.5 kB / 0.6972 GB, free: 12.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.2015, allocations: 27.64 kB / 0.6972 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.2016, allocations: 25.7 kB / 0.6972 GB, free: 12.51 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.2017, allocations: 326.7 kB / 0.6976 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.763e-05/0.2018, allocations: 19.92 kB / 0.6976 GB, free: 12.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.403e-05/0.2018, allocations: 47.36 kB / 0.6976 GB, free: 12.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.202, allocations: 63.44 kB / 0.6977 GB, free: 12.03 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.202, allocations: 0 / 0.6977 GB, free: 12.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001517/0.2021, allocations: 101.5 kB / 0.6978 GB, free: 11.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2021, allocations: 4 kB / 0.6978 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2022, allocations: 0 / 0.6978 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.2022, allocations: 4 kB / 0.6978 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.2023, allocations: 12 kB / 0.6978 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.2023, allocations: 0 / 0.6978 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.161e-05/0.2024, allocations: 15.92 kB / 0.6978 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.2024, allocations: 4 kB / 0.6978 GB, free: 11.88 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.0001345/0.2025, allocations: 125 kB / 0.6979 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.2026, allocations: 4 kB / 0.6979 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.2026, allocations: 11.95 kB / 0.6979 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2026, allocations: 0 / 0.6979 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2026, allocations: 4 kB / 0.6979 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2026, allocations: 0 / 0.6979 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.2031, allocations: 362.4 kB / 0.6983 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2031, allocations: 0 / 0.6983 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.563e-05/0.2031, allocations: 4 kB / 0.6983 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2031, allocations: 0 / 0.6983 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.2032, allocations: 288 / 0.6983 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2032, allocations: 3.938 kB / 0.6983 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.2032, allocations: 7.984 kB / 0.6983 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.2034, allocations: 179.5 kB / 0.6985 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.656e-05/0.2034, allocations: 88.94 kB / 0.6986 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.2035, allocations: 3.984 kB / 0.6986 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.618e-05/0.2035, allocations: 8.125 kB / 0.6986 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.2036, allocations: 19.86 kB / 0.6986 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.2036, allocations: 7.938 kB / 0.6986 GB, free: 10.97 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.262e-05/0.2037, allocations: 79.28 kB / 0.6987 GB, free: 10.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2037, allocations: 0 / 0.6987 GB, free: 10.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002348/0.2039, allocations: 19.98 kB / 0.6987 GB, free: 10.88 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 0.0001133/0.204, allocations: 101.4 kB / 0.6988 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001488/0.2042, allocations: 51.92 kB / 0.6988 GB, free: 10.72 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2042, allocations: 4 kB / 0.6988 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.842e-05/0.2043, allocations: 31.92 kB / 0.6989 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.2045, allocations: 4 kB / 0.6989 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.2049, allocations: 191 kB / 0.6991 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.2053, allocations: 0.6885 MB / 0.6997 GB, free: 9.746 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.2054, allocations: 11.44 kB / 0.6997 GB, free: 9.734 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.2054, allocations: 0 / 0.6997 GB, free: 9.734 MB / 0.545 GB Notification: Performance of Templates: time 0.002678/0.2081, allocations: 0.8573 MB / 0.7006 GB, free: 8.883 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)