Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.793/1.793, allocations: 293 MB / 309 MB, free: 4.777 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.001114/0.001114, allocations: 171.7 kB / 378.7 MB, free: 1.023 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.693/1.693, allocations: 205.4 MB / 0.6383 GB, free: 9.16 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.0008371/0.0008372, allocations: 90.2 kB / 0.7527 GB, free: 62.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.0004599, allocations: 16 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2711, allocations: 116.4 MB / 0.9905 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6935/0.9646, allocations: 140.9 MB / 1.128 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.965, allocations: 79.5 kB / 1.128 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02294/0.9879, allocations: 9.352 MB / 1.137 GB, free: 27.06 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.023e-06/0.988, allocations: 0 / 1.137 GB, free: 27.06 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.394e-05/0.988, allocations: 8 kB / 1.137 GB, free: 27.05 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001215/0.9892, allocations: 0.8207 MB / 1.138 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.9893, allocations: 8.781 kB / 1.138 GB, free: 26.24 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.9894, allocations: 77.03 kB / 1.138 GB, free: 26.17 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007205/0.9901, allocations: 460.3 kB / 1.139 GB, free: 25.73 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.9901, allocations: 38.03 kB / 1.139 GB, free: 25.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-05/0.9902, allocations: 53.5 kB / 1.139 GB, free: 25.64 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007396/0.991, allocations: 474.6 kB / 1.139 GB, free: 25.24 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.991, allocations: 3.938 kB / 1.139 GB, free: 25.23 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.9911, allocations: 22.44 kB / 1.139 GB, free: 25.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.9911, allocations: 15.94 kB / 1.139 GB, free: 25.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005706/0.9916, allocations: 339.3 kB / 1.139 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002035/0.9937, allocations: 1.5 MB / 1.141 GB, free: 23.65 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007213/0.9944, allocations: 0.8723 MB / 1.142 GB, free: 22.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/0.9947, allocations: 197.8 kB / 1.142 GB, free: 22.53 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.9948, allocations: 8.547 kB / 1.142 GB, free: 22.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004471/0.9952, allocations: 246.1 kB / 1.142 GB, free: 22.31 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=43): time 3.005e-06/0.9952, allocations: 0 / 1.142 GB, free: 22.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43): time 0.0009005/0.9961, allocations: 0.5158 MB / 1.143 GB, free: 21.84 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.9962, allocations: 112 kB / 1.143 GB, free: 21.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004197/0.9966, allocations: 391.8 kB / 1.143 GB, free: 21.36 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/0.9967, allocations: 42.3 kB / 1.143 GB, free: 21.31 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.9968, allocations: 258 kB / 1.144 GB, free: 21.08 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.63e-05/0.9969, allocations: 137.9 kB / 1.144 GB, free: 20.95 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.169e-05/0.997, allocations: 4 kB / 1.144 GB, free: 20.95 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.9971, allocations: 363.2 kB / 1.144 GB, free: 20.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.9974, allocations: 164.8 kB / 1.144 GB, free: 20.46 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/0.9977, allocations: 251.2 kB / 1.144 GB, free: 20.21 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005336/0.9983, allocations: 393.4 kB / 1.145 GB, free: 19.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.9983, allocations: 0 / 1.145 GB, free: 19.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007849/0.9991, allocations: 0.5251 MB / 1.145 GB, free: 19.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.931e-05/0.9992, allocations: 161.5 kB / 1.145 GB, free: 19.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.9992, allocations: 8.703 kB / 1.145 GB, free: 19.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.9992, allocations: 4.938 kB / 1.145 GB, free: 19.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.9996, allocations: 83.14 kB / 1.146 GB, free: 19.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.9996, allocations: 9.016 kB / 1.146 GB, free: 19.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000335/0.9999, allocations: 86.61 kB / 1.146 GB, free: 18.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/1, allocations: 17.83 kB / 1.146 GB, free: 18.97 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.991e-06/1, allocations: 4 kB / 1.146 GB, free: 18.96 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005468/1.001, allocations: 416 kB / 1.146 GB, free: 18.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/1.001, allocations: 4.031 kB / 1.146 GB, free: 18.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.997e-06/1.001, allocations: 4.797 kB / 1.146 GB, free: 18.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/1.001, allocations: 70.69 kB / 1.146 GB, free: 18.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.001, allocations: 7.141 kB / 1.146 GB, free: 18.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/1.001, allocations: 83.3 kB / 1.146 GB, free: 18.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/1.001, allocations: 17.41 kB / 1.146 GB, free: 18.42 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition5,$whenCondition4,$whenCondition3,$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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * 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.0002448/1.001, allocations: 259.7 kB / 1.146 GB, free: 18.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/1.001, allocations: 43.44 kB / 1.146 GB, free: 18.11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.581e-05/1.002, allocations: 53.44 kB / 1.147 GB, free: 18.07 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/1.002, allocations: 8.969 kB / 1.147 GB, free: 18.06 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/1.002, allocations: 3.938 kB / 1.147 GB, free: 18.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/1.002, allocations: 3.188 kB / 1.147 GB, free: 18.05 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/1.003, allocations: 1.037 MB / 1.148 GB, free: 17.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.003, allocations: 0.7031 kB / 1.148 GB, free: 17.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/1.003, allocations: 75.44 kB / 1.148 GB, free: 17.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.003, allocations: 0 / 1.148 GB, free: 17.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/1.003, allocations: 9.359 kB / 1.148 GB, free: 17.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/1.003, allocations: 7.938 kB / 1.148 GB, free: 17.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.003, allocations: 0.75 kB / 1.148 GB, free: 17.05 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008635/1.004, allocations: 0.6752 MB / 1.148 GB, free: 16.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.029e-05/1.004, allocations: 127.5 kB / 1.148 GB, free: 16.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/1.004, allocations: 8.609 kB / 1.148 GB, free: 16.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/1.005, allocations: 26 kB / 1.148 GB, free: 16.23 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/1.005, allocations: 30.78 kB / 1.149 GB, free: 16.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/1.005, allocations: 17.36 kB / 1.149 GB, free: 16.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002676/1.005, allocations: 272.4 kB / 1.149 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.3e-07/1.005, allocations: 0 / 1.149 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005211/1.005, allocations: 189.2 kB / 1.149 GB, free: 15.79 MB / 0.7292 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: 6 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002175/1.006, allocations: 135.7 kB / 1.149 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009764/1.007, allocations: 0.7148 MB / 1.15 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.007, allocations: 8.125 kB / 1.15 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002665/1.007, allocations: 186.3 kB / 1.15 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/1.008, allocations: 91.12 kB / 1.15 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/1.009, allocations: 1.054 MB / 1.151 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/1.009, allocations: 0.8509 MB / 1.152 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002285/1.009, allocations: 53.16 kB / 1.152 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.458e-05/1.009, allocations: 40.89 kB / 1.152 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/1.009, allocations: 0 / 1.152 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of Templates: time 0.01005/1.019, allocations: 5.302 MB / 1.157 GB, free: 9.824 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)