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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9045/0.9045, allocations: 141.8 MB / 149.3 MB, free: 9.242 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009972/0.0009972, allocations: 179.8 kB / 182.2 MB, free: 9.465 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009031/0.0009028, allocations: 88.09 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002241/0.002241, allocations: 292 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.081e-05/2.084e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3928, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1299/0.5227, allocations: 108.6 MB / 0.8635 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.523, allocations: 75.83 kB / 0.8635 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004129/0.5272, allocations: 1.385 MB / 0.8649 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5272, allocations: 0 / 0.8649 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.5272, allocations: 4 kB / 0.8649 GB, free: 1.762 MB / 0.5261 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.0004072/0.5276, allocations: 354.4 kB / 0.8652 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.5277, allocations: 8.031 kB / 0.8652 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.5277, allocations: 4 kB / 0.8652 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.5279, allocations: 167 kB / 0.8654 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.5279, allocations: 7.891 kB / 0.8654 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.5279, allocations: 11.98 kB / 0.8654 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.166e-05/0.528, allocations: 16 kB / 0.8654 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.327e-05/0.5281, allocations: 45.69 kB / 0.8655 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.5281, allocations: 4 kB / 0.8655 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.5281, allocations: 3.938 kB / 0.8655 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.5281, allocations: 4 kB / 0.8655 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/0.5286, allocations: 285.2 kB / 0.8658 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.061e-05/0.5287, allocations: 50.56 kB / 0.8658 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.5287, allocations: 29.06 kB / 0.8658 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.5288, allocations: 0 / 0.8658 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.5289, allocations: 71.42 kB / 0.8659 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.5289, allocations: 0 / 0.8659 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.000188/0.5291, allocations: 77.53 kB / 0.866 GB, free: 500 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.5291, allocations: 55.39 kB / 0.866 GB, free: 432 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.495e-05/0.5292, allocations: 101 kB / 0.8661 GB, free: 324 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.5293, allocations: 29.7 kB / 0.8662 GB, free: 288 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.5293, allocations: 80.14 kB / 0.8662 GB, free: 204 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.5293, allocations: 27.64 kB / 0.8663 GB, free: 176 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.5294, allocations: 0 / 0.8663 GB, free: 176 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5295, allocations: 322.8 kB / 0.8666 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.273e-05/0.5295, allocations: 12 kB / 0.8666 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.757e-05/0.5296, allocations: 43.42 kB / 0.8666 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.686e-05/0.5296, allocations: 16 kB / 0.8666 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5296, allocations: 0 / 0.8666 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001292/0.5298, allocations: 85.52 kB / 0.8667 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5298, allocations: 8 kB / 0.8667 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5298, allocations: 0 / 0.8667 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.5298, allocations: 0 / 0.8667 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-05/0.5299, allocations: 19.92 kB / 0.8667 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.5299, allocations: 0 / 0.8667 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.619e-05/0.53, allocations: 11.97 kB / 0.8668 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.53, allocations: 4 kB / 0.8668 GB, free: 15.63 MB / 0.5417 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.406e-05/0.5301, allocations: 109.6 kB / 0.8669 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.5301, allocations: 7.984 kB / 0.8669 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.5302, allocations: 8.406 kB / 0.8669 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5302, allocations: 3.938 kB / 0.8669 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5302, allocations: 96 / 0.8669 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.5302, allocations: 3.938 kB / 0.8669 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/0.5305, allocations: 343 kB / 0.8672 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5306, allocations: 0 / 0.8672 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.683e-05/0.5306, allocations: 4 kB / 0.8672 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5306, allocations: 0 / 0.8672 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.5306, allocations: 4 kB / 0.8672 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5306, allocations: 3.672 kB / 0.8672 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5306, allocations: 0 / 0.8672 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.5308, allocations: 179.7 kB / 0.8674 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.5309, allocations: 85.02 kB / 0.8675 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.5309, allocations: 3.984 kB / 0.8675 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.303e-05/0.531, allocations: 7.984 kB / 0.8675 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.531, allocations: 7.984 kB / 0.8675 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.531, allocations: 4 kB / 0.8675 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.649e-05/0.5311, allocations: 83.28 kB / 0.8676 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5311, allocations: 4 kB / 0.8676 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002208/0.5313, allocations: 8 kB / 0.8676 GB, free: 14.7 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001124/0.5314, allocations: 103.2 kB / 0.8677 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.5316, allocations: 47.92 kB / 0.8677 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5316, allocations: 3.938 kB / 0.8677 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.898e-05/0.5316, allocations: 20 kB / 0.8678 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.5318, allocations: 10.27 kB / 0.8678 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002376/0.5321, allocations: 91.86 kB / 0.8679 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.5323, allocations: 0.6884 MB / 0.8685 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.109e-05/0.5324, allocations: 11.92 kB / 0.8685 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.5324, allocations: 15.44 kB / 0.8686 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of SimCode: time 2.7e-07/0.5324, allocations: 0 / 0.8686 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of Templates: time 0.002473/0.5349, allocations: 0.6398 MB / 0.8692 GB, free: 13.02 MB / 0.5417 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)