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.PIDWithResetScale.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.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.685/1.685, allocations: 288.4 MB / 304.3 MB, free: 8.074 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.001112/0.001112, allocations: 180.5 kB / 372.9 MB, free: 10.15 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.639/1.639, allocations: 205.4 MB / 0.6317 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007154/0.0007154, allocations: 92.25 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.000389, allocations: 18.72 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2164, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5752/0.7916, allocations: 139.9 MB / 1.117 GB, free: 16.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.7919, allocations: 70.39 kB / 1.117 GB, free: 16.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0246/0.8165, allocations: 10.66 MB / 1.128 GB, free: 31.22 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8165, allocations: 3.938 kB / 1.128 GB, free: 31.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.737e-05/0.8165, allocations: 11.56 kB / 1.128 GB, free: 31.21 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001309/0.8179, allocations: 0.8813 MB / 1.129 GB, free: 30.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.8179, allocations: 11.64 kB / 1.129 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.818, allocations: 74.66 kB / 1.129 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007056/0.8187, allocations: 487.5 kB / 1.129 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/0.8188, allocations: 38.09 kB / 1.129 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.772e-05/0.8189, allocations: 59.86 kB / 1.129 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007408/0.8196, allocations: 0.499 MB / 1.13 GB, free: 29.97 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.8197, allocations: 3.938 kB / 1.13 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.8197, allocations: 17.41 kB / 1.13 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.8197, allocations: 11.59 kB / 1.13 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005697/0.8203, allocations: 367.1 kB / 1.13 GB, free: 29.91 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.8222, allocations: 1.585 MB / 1.132 GB, free: 29.03 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007771/0.823, allocations: 0.8956 MB / 1.133 GB, free: 28.38 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.8233, allocations: 213.1 kB / 1.133 GB, free: 28.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.8234, allocations: 7.969 kB / 1.133 GB, free: 28.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004515/0.8238, allocations: 259.6 kB / 1.133 GB, free: 28.24 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 2.404e-06/0.8239, allocations: 0 / 1.133 GB, free: 28.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=47): time 0.0009219/0.8248, allocations: 0.562 MB / 1.134 GB, free: 28.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.8248, allocations: 110.2 kB / 1.134 GB, free: 27.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.8252, allocations: 392.2 kB / 1.134 GB, free: 27.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.785e-05/0.8253, allocations: 43.2 kB / 1.134 GB, free: 27.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.8254, allocations: 265.2 kB / 1.134 GB, free: 27.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.783e-05/0.8255, allocations: 149.8 kB / 1.135 GB, free: 27.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.8255, allocations: 10.84 kB / 1.135 GB, free: 27.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.8257, allocations: 359.8 kB / 1.135 GB, free: 27.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/0.826, allocations: 196 kB / 1.135 GB, free: 27.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/0.8264, allocations: 288.6 kB / 1.135 GB, free: 27.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006016/0.827, allocations: 476.9 kB / 1.136 GB, free: 26.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.827, allocations: 4 kB / 1.136 GB, free: 26.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000921/0.8279, allocations: 0.6417 MB / 1.136 GB, free: 26.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.91e-05/0.828, allocations: 200.8 kB / 1.137 GB, free: 26.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.8281, allocations: 0 / 1.137 GB, free: 26.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.8281, allocations: 3.844 kB / 1.137 GB, free: 26.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.8284, allocations: 88.58 kB / 1.137 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.8284, allocations: 3.875 kB / 1.137 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.8289, allocations: 131.9 kB / 1.137 GB, free: 26.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.829, allocations: 22.69 kB / 1.137 GB, free: 26.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.3e-06/0.829, allocations: 3.875 kB / 1.137 GB, free: 26.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006663/0.8297, allocations: 0.5327 MB / 1.137 GB, free: 26.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.8297, allocations: 0 / 1.137 GB, free: 26.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.406e-06/0.8297, allocations: 7.812 kB / 1.137 GB, free: 26.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.8299, allocations: 73.78 kB / 1.137 GB, free: 26.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.8299, allocations: 7.781 kB / 1.138 GB, free: 26.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004119/0.8304, allocations: 119.5 kB / 1.138 GB, free: 26.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.8304, allocations: 27.23 kB / 1.138 GB, free: 26.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0002435/0.8307, allocations: 255.4 kB / 1.138 GB, free: 26.01 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-05/0.8307, allocations: 46.41 kB / 1.138 GB, free: 25.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.555e-05/0.8308, allocations: 60.02 kB / 1.138 GB, free: 25.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.8308, allocations: 7.719 kB / 1.138 GB, free: 25.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.8308, allocations: 0 / 1.138 GB, free: 25.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.8308, allocations: 7.984 kB / 1.138 GB, free: 25.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.8321, allocations: 1.078 MB / 1.139 GB, free: 25.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.8321, allocations: 0 / 1.139 GB, free: 25.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.8324, allocations: 80.55 kB / 1.139 GB, free: 25.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.8324, allocations: 4 kB / 1.139 GB, free: 25.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.8324, allocations: 14.59 kB / 1.139 GB, free: 25.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.8325, allocations: 0 / 1.139 GB, free: 25.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8325, allocations: 7.844 kB / 1.139 GB, free: 25.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008953/0.8334, allocations: 0.7158 MB / 1.14 GB, free: 25.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.41e-05/0.8334, allocations: 127.6 kB / 1.14 GB, free: 25.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.891e-05/0.8335, allocations: 10.72 kB / 1.14 GB, free: 25.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.8337, allocations: 34.47 kB / 1.14 GB, free: 25.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.8338, allocations: 27.78 kB / 1.14 GB, free: 25.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.8338, allocations: 19.52 kB / 1.14 GB, free: 25.04 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002309/0.834, allocations: 276.5 kB / 1.14 GB, free: 24.92 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8341, allocations: 0 / 1.14 GB, free: 24.92 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005303/0.8346, allocations: 227.6 kB / 1.141 GB, free: 24.87 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002077/0.8348, allocations: 138.9 kB / 1.141 GB, free: 24.76 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001177/0.836, allocations: 0.9505 MB / 1.142 GB, free: 24.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.836, allocations: 0 / 1.142 GB, free: 24.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.8363, allocations: 195.7 kB / 1.142 GB, free: 24.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005721/0.8369, allocations: 104.8 kB / 1.142 GB, free: 24.35 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.8381, allocations: 1.116 MB / 1.143 GB, free: 23.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.8384, allocations: 0.8587 MB / 1.144 GB, free: 22.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002125/0.8386, allocations: 62.06 kB / 1.144 GB, free: 22.87 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.618e-05/0.8387, allocations: 34.19 kB / 1.144 GB, free: 22.86 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.8387, allocations: 3.875 kB / 1.144 GB, free: 22.86 MB / 0.698 GB Notification: Performance of Templates: time 0.009423/0.8482, allocations: 6.547 MB / 1.15 GB, free: 19.67 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)