Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.681/1.681, allocations: 292.6 MB / 307.5 MB, free: 5.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 181.1 kB / 377.1 MB, free: 1.504 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.825/1.825, allocations: 205.4 MB / 0.6367 GB, free: 8.547 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009797/0.0009795, allocations: 95.03 kB / 0.751 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004999/0.0004997, allocations: 16 kB / 0.8748 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3463, allocations: 116.3 MB / 0.9884 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8481/1.194, allocations: 138.5 MB / 1.124 GB, free: 35.96 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/1.195, allocations: 67.55 kB / 1.124 GB, free: 35.91 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003251/1.198, allocations: 1.409 MB / 1.125 GB, free: 34.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.432e-06/1.198, allocations: 0 / 1.125 GB, free: 34.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.131e-06/1.198, allocations: 4 kB / 1.125 GB, free: 34.83 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000374/1.198, allocations: 374.4 kB / 1.125 GB, free: 34.44 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/1.198, allocations: 12.02 kB / 1.125 GB, free: 34.43 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/1.199, allocations: 2.062 kB / 1.125 GB, free: 34.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.623e-05/1.199, allocations: 167 kB / 1.126 GB, free: 34.22 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/1.199, allocations: 4.453 kB / 1.126 GB, free: 34.22 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/1.199, allocations: 7.938 kB / 1.126 GB, free: 34.21 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/1.199, allocations: 87.02 kB / 1.126 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/1.199, allocations: 0 / 1.126 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/1.199, allocations: 2.469 kB / 1.126 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/1.199, allocations: 0 / 1.126 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002711/1.199, allocations: 88.72 kB / 1.126 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/1.2, allocations: 299.1 kB / 1.126 GB, free: 33.75 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/1.2, allocations: 75.61 kB / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/1.2, allocations: 0 / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/1.2, allocations: 30.56 kB / 1.126 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/1.2, allocations: 0 / 1.126 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0005085/1.2, allocations: 170.5 kB / 1.126 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/1.2, allocations: 51.41 kB / 1.126 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.784e-05/1.201, allocations: 100.9 kB / 1.127 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/1.201, allocations: 25.7 kB / 1.127 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/1.201, allocations: 95.55 kB / 1.127 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/1.201, allocations: 3.906 kB / 1.127 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/1.201, allocations: 0 / 1.127 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.56e-05/1.201, allocations: 326.4 kB / 1.127 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/1.201, allocations: 38.89 kB / 1.127 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/1.201, allocations: 46.45 kB / 1.127 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/1.201, allocations: 42.64 kB / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.201, allocations: 0 / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003062/1.201, allocations: 123.1 kB / 1.127 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/1.201, allocations: 9.562 kB / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.201, allocations: 0 / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/1.202, allocations: 0 / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/1.202, allocations: 23.22 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/1.202, allocations: 3.938 kB / 1.127 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.045e-05/1.202, allocations: 19.42 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/1.202, allocations: 0 / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.666e-05/1.202, allocations: 121.4 kB / 1.127 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/1.202, allocations: 0.5 kB / 1.127 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/1.202, allocations: 8.469 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/1.202, allocations: 0 / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/1.202, allocations: 3.938 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.202, allocations: 1.219 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/1.202, allocations: 172.6 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/1.202, allocations: 0 / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.555e-05/1.202, allocations: 24.03 kB / 1.128 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.202, allocations: 0 / 1.128 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/1.202, allocations: 4.688 kB / 1.128 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/1.202, allocations: 3.375 kB / 1.128 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/1.202, allocations: 0 / 1.128 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/1.203, allocations: 222.1 kB / 1.128 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/1.203, allocations: 85.67 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/1.203, allocations: 0.5625 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/1.203, allocations: 22.66 kB / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/1.203, allocations: 4.266 kB / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/1.203, allocations: 4 kB / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.302e-05/1.203, allocations: 88.05 kB / 1.128 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/1.203, allocations: 0.5625 kB / 1.128 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001902/1.203, allocations: 12 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001241/1.203, allocations: 98.72 kB / 1.128 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002939/1.203, allocations: 89.44 kB / 1.128 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/1.203, allocations: 0 / 1.128 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/1.204, allocations: 54.06 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/1.204, allocations: 11.98 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/1.204, allocations: 129.5 kB / 1.128 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/1.204, allocations: 0.6849 MB / 1.129 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.071e-05/1.204, allocations: 11.94 kB / 1.129 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/1.204, allocations: 7.438 kB / 1.129 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/1.204, allocations: 0 / 1.129 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of Templates: time 0.002338/1.207, allocations: 0.5518 MB / 1.13 GB, free: 30.45 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)