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.7566/0.7566, allocations: 143.4 MB / 158.3 MB, free: 5.789 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.001013/0.001013, allocations: 181 kB / 191.5 MB, free: 5.77 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.329/1.329, allocations: 223.2 MB / 447.7 MB, free: 4.824 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.0009052/0.0009052, allocations: 88.33 kB / 0.5188 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001711/0.001711, allocations: 273.3 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.0004229, allocations: 13.59 kB / 0.6929 GB, free: 59.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1475, allocations: 82.79 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1503/0.2979, allocations: 109.4 MB / 0.8805 GB, free: 336 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.2982, allocations: 73.98 kB / 0.8806 GB, free: 264 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.2937/0.5919, allocations: 1.402 MB / 0.882 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5919, allocations: 0 / 0.882 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.592, allocations: 0 / 0.882 GB, free: 109.4 MB / 0.5417 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.0003288/0.5923, allocations: 368.6 kB / 0.8823 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.5923, allocations: 8.609 kB / 0.8823 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.5924, allocations: 5.906 kB / 0.8823 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.003e-05/0.5925, allocations: 169.8 kB / 0.8825 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.5925, allocations: 3.953 kB / 0.8825 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.5925, allocations: 6.812 kB / 0.8825 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.5926, allocations: 64.58 kB / 0.8826 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.5926, allocations: 0 / 0.8826 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.5926, allocations: 1.375 kB / 0.8826 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.5927, allocations: 2.469 kB / 0.8826 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.034e-05/0.5927, allocations: 27.77 kB / 0.8826 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.5931, allocations: 302.9 kB / 0.8829 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.63e-05/0.5932, allocations: 56.09 kB / 0.8829 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.5932, allocations: 0 / 0.8829 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.5934, allocations: 79.42 kB / 0.883 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.5934, allocations: 0 / 0.883 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0001956/0.5936, allocations: 105.4 kB / 0.8831 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.5936, allocations: 53.92 kB / 0.8832 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.998e-05/0.5937, allocations: 98.09 kB / 0.8833 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.5937, allocations: 30.98 kB / 0.8833 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.861e-05/0.5937, allocations: 88.38 kB / 0.8834 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.5938, allocations: 26.19 kB / 0.8834 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/0.5938, allocations: 0 / 0.8834 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.221e-05/0.5938, allocations: 317 kB / 0.8837 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.281e-05/0.5939, allocations: 24.06 kB / 0.8837 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.334e-05/0.5939, allocations: 42.94 kB / 0.8838 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.796e-05/0.594, allocations: 22.12 kB / 0.8838 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.594, allocations: 0 / 0.8838 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001215/0.5941, allocations: 99.67 kB / 0.8839 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.5941, allocations: 5.469 kB / 0.8839 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.5941, allocations: 0 / 0.8839 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.5941, allocations: 6.125 kB / 0.8839 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.74e-05/0.5942, allocations: 11.88 kB / 0.8839 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.5942, allocations: 1.438 kB / 0.8839 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.416e-05/0.5943, allocations: 13.55 kB / 0.8839 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.5943, allocations: 6.25 kB / 0.8839 GB, free: 107.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.909e-05/0.5944, allocations: 124 kB / 0.884 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.5944, allocations: 7 kB / 0.884 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.5944, allocations: 8.656 kB / 0.8841 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.5944, allocations: 4 kB / 0.8841 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.5944, allocations: 0 / 0.8841 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.5944, allocations: 2.969 kB / 0.8841 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.5948, allocations: 363.6 kB / 0.8844 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.5948, allocations: 0 / 0.8844 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.5948, allocations: 5.781 kB / 0.8844 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.5948, allocations: 0 / 0.8844 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.5948, allocations: 8.5 kB / 0.8844 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5948, allocations: 0 / 0.8844 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5948, allocations: 2.688 kB / 0.8844 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.595, allocations: 183.6 kB / 0.8846 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.049e-05/0.595, allocations: 87.75 kB / 0.8847 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.595, allocations: 0 / 0.8847 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.404e-05/0.5951, allocations: 8.812 kB / 0.8847 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.5951, allocations: 17.61 kB / 0.8847 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.5952, allocations: 2.938 kB / 0.8847 GB, free: 107 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.191e-05/0.5952, allocations: 79.41 kB / 0.8848 GB, free: 107 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5952, allocations: 2.531 kB / 0.8848 GB, free: 107 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002166/0.5954, allocations: 18.25 kB / 0.8848 GB, free: 107 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 () * 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 (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 7.35e-05/0.5955, allocations: 93.84 kB / 0.8849 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.5956, allocations: 54.97 kB / 0.8849 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5956, allocations: 4.062 kB / 0.8849 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.935e-05/0.5957, allocations: 28.22 kB / 0.885 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.5959, allocations: 13.92 kB / 0.885 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.5962, allocations: 153 kB / 0.8851 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.5963, allocations: 0.6904 MB / 0.8858 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.094e-05/0.5964, allocations: 9.141 kB / 0.8858 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.5964, allocations: 9.938 kB / 0.8858 GB, free: 106 MB / 0.5417 GB Notification: Performance of SimCode: time 5.81e-07/0.5964, allocations: 0 / 0.8858 GB, free: 106 MB / 0.5417 GB Notification: Performance of Templates: time 0.002701/0.5991, allocations: 0.6791 MB / 0.8865 GB, free: 106 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)