Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.673/1.673, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001184/0.001184, allocations: 180.5 kB / 361.4 MB, free: 6.871 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.631/1.631, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008406/0.0008408, allocations: 94.62 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.832e-05/1.835e-05, allocations: 8 kB / 0.8518 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6658/0.6659, allocations: 115.3 MB / 0.9644 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1972/0.8631, allocations: 136.7 MB / 1.098 GB, free: 3.09 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.8635, allocations: 67.95 kB / 1.098 GB, free: 3.023 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001487/0.865, allocations: 0.5958 MB / 1.099 GB, free: 2.441 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.412e-06/0.865, allocations: 0 / 1.099 GB, free: 2.441 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.865, allocations: 0.8438 kB / 1.099 GB, free: 2.441 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003815/0.8654, allocations: 337.5 kB / 1.099 GB, free: 2.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.8654, allocations: 8.656 kB / 1.099 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.8655, allocations: 1.031 kB / 1.099 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.8656, allocations: 175.5 kB / 1.099 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.8657, allocations: 2.219 kB / 1.099 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.8657, allocations: 0 / 1.099 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.068e-05/0.8658, allocations: 12 kB / 1.099 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.175e-05/0.8659, allocations: 36.3 kB / 1.099 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.8659, allocations: 0.7188 kB / 1.099 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.8659, allocations: 0 / 1.099 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.8659, allocations: 0.6562 kB / 1.099 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.8663, allocations: 252 kB / 1.099 GB, free: 1.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.56e-05/0.8664, allocations: 26.97 kB / 1.099 GB, free: 1.488 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.8664, allocations: 9.484 kB / 1.099 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.8664, allocations: 4.875 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.8664, allocations: 36.42 kB / 1.099 GB, free: 1.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.8664, allocations: 0 / 1.099 GB, free: 1.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001358/0.8666, allocations: 38.86 kB / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.8666, allocations: 51.41 kB / 1.1 GB, free: 1.324 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.741e-05/0.8667, allocations: 100.3 kB / 1.1 GB, free: 1.223 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.8667, allocations: 26.33 kB / 1.1 GB, free: 1.191 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.8668, allocations: 89.55 kB / 1.1 GB, free: 1.102 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.8668, allocations: 3.906 kB / 1.1 GB, free: 1.098 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.8668, allocations: 0 / 1.1 GB, free: 1.098 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.8669, allocations: 315.4 kB / 1.1 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.469e-05/0.8669, allocations: 4.594 kB / 1.1 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.227e-05/0.867, allocations: 8 kB / 1.1 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.77e-05/0.867, allocations: 9.281 kB / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.867, allocations: 4 kB / 1.1 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.963e-05/0.8671, allocations: 43.52 kB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.8671, allocations: 4.625 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.8671, allocations: 0 / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.8671, allocations: 0 / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-05/0.8672, allocations: 16.58 kB / 1.1 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.8672, allocations: 0.9688 kB / 1.1 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.06e-05/0.8673, allocations: 12.77 kB / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.8673, allocations: 0 / 1.1 GB, free: 0.6797 MB / 0.698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.451e-05/0.8674, allocations: 113.2 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.8674, allocations: 2.312 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.177e-05/0.8674, allocations: 3.75 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.8674, allocations: 0 / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8674, allocations: 0 / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.8674, allocations: 4 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.8676, allocations: 134.2 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.8676, allocations: 7.953 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.799e-05/0.8676, allocations: 9.734 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.8676, allocations: 6.141 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.8677, allocations: 0 / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.8677, allocations: 0 / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.8677, allocations: 1.312 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.8678, allocations: 147.6 kB / 1.101 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.8678, allocations: 77.11 kB / 1.101 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.8678, allocations: 3.953 kB / 1.101 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.8679, allocations: 11.98 kB / 1.101 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.868, allocations: 0 / 1.101 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.868, allocations: 0 / 1.101 GB, free: 108 kB / 0.698 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.868, allocations: 87.22 kB / 1.101 GB, free: 24 kB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.868, allocations: 0 / 1.101 GB, free: 24 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.000191/0.8682, allocations: 4 kB / 1.101 GB, free: 20 kB / 0.698 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001499/0.8684, allocations: 111 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.179e-05/0.8685, allocations: 12 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8685, allocations: 0 / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.978e-05/0.8685, allocations: 7.938 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.8687, allocations: 7.844 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002051/0.8689, allocations: 66.25 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.8691, allocations: 0.6808 MB / 1.102 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.24e-05/0.8692, allocations: 4 kB / 1.102 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.8692, allocations: 7.438 kB / 1.102 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.8692, allocations: 0 / 1.102 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of Templates: time 0.002038/0.8713, allocations: 336.2 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)