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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007909/0.0007911, allocations: 86.09 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000789/0.000789, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.715/1.715, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008508/0.0008513, allocations: 21.05 kB / 0.6737 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.253, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.002293/0.2554, allocations: 1.583 MB / 0.7889 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002189/0.2576, allocations: 1.531 MB / 0.7904 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002595/0.2579, allocations: 8 kB / 0.7904 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.2581, allocations: 59.38 kB / 0.7904 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.2584, allocations: 55.58 kB / 0.7905 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000623/0.2591, allocations: 231.3 kB / 0.7907 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000532/0.2596, allocations: 0.5827 MB / 0.7913 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003572/0.26, allocations: 218.1 kB / 0.7915 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.2602, allocations: 167.1 kB / 0.7916 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.2604, allocations: 186.8 kB / 0.7918 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.463e-05/0.2604, allocations: 16 kB / 0.7918 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.853e-05/0.2605, allocations: 35.98 kB / 0.7919 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.576e-05/0.2606, allocations: 79.55 kB / 0.7919 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.37e-05/0.2607, allocations: 105.4 kB / 0.792 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.2612, allocations: 0.608 MB / 0.7926 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.2612, allocations: 4 kB / 0.7926 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2612, allocations: 0 / 0.7926 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.2612, allocations: 0 / 0.7926 GB, free: 6.441 MB / 0.6075 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.001247/0.2625, allocations: 0.8251 MB / 0.7934 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.2625, allocations: 8.031 kB / 0.7934 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.2627, allocations: 71.25 kB / 0.7935 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004969/0.2632, allocations: 417.8 kB / 0.7939 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.2632, allocations: 37 kB / 0.7939 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-05/0.2633, allocations: 52 kB / 0.794 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000723/0.264, allocations: 478.9 kB / 0.7944 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.264, allocations: 0 / 0.7944 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.2641, allocations: 19.98 kB / 0.7945 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.2641, allocations: 12 kB / 0.7945 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005856/0.2647, allocations: 335.8 kB / 0.7948 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.2666, allocations: 1.472 MB / 0.7962 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008258/0.2674, allocations: 0.8769 MB / 0.7971 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.2677, allocations: 213.3 kB / 0.7973 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.2678, allocations: 8 kB / 0.7973 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003872/0.2682, allocations: 227.8 kB / 0.7975 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 1.533e-06/0.2682, allocations: 0 / 0.7975 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.0008929/0.2691, allocations: 0.5003 MB / 0.798 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.2691, allocations: 110.6 kB / 0.7981 GB, free: 488 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000382/0.2695, allocations: 397.5 kB / 0.7985 GB, free: 84 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.2696, allocations: 41.69 kB / 0.7985 GB, free: 36 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.2698, allocations: 252.3 kB / 0.7988 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.562e-05/0.2699, allocations: 138 kB / 0.7989 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.2699, allocations: 8 kB / 0.7989 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.27, allocations: 358.8 kB / 0.7993 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.2703, allocations: 168.8 kB / 0.7994 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/0.2707, allocations: 263 kB / 0.7997 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.2711, allocations: 222.2 kB / 0.7999 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2711, allocations: 0 / 0.7999 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008257/0.2719, allocations: 0.5312 MB / 0.8004 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.272, allocations: 188.2 kB / 0.8006 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.272, allocations: 0 / 0.8006 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.2721, allocations: 8 kB / 0.8006 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.2724, allocations: 87.89 kB / 0.8007 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.2724, allocations: 4 kB / 0.8007 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.2728, allocations: 103.5 kB / 0.8008 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.2728, allocations: 23.92 kB / 0.8008 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.961e-06/0.2728, allocations: 4 kB / 0.8008 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005769/0.2734, allocations: 421.3 kB / 0.8012 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.2734, allocations: 4.219 kB / 0.8012 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.15e-06/0.2735, allocations: 8 kB / 0.8012 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.2737, allocations: 71.84 kB / 0.8013 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2737, allocations: 4 kB / 0.8013 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.274, allocations: 87.64 kB / 0.8014 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.274, allocations: 19.95 kB / 0.8014 GB, free: 13.01 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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.0002146/0.2743, allocations: 260.6 kB / 0.8016 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.84e-05/0.2743, allocations: 43.44 kB / 0.8017 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.881e-05/0.2744, allocations: 48.77 kB / 0.8017 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2744, allocations: 4 kB / 0.8017 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.2744, allocations: 0 / 0.8017 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.2744, allocations: 3.984 kB / 0.8017 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.2757, allocations: 1.015 MB / 0.8027 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2757, allocations: 0 / 0.8027 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.276, allocations: 71.91 kB / 0.8028 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.276, allocations: 0 / 0.8028 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.276, allocations: 15.94 kB / 0.8028 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.276, allocations: 4 kB / 0.8028 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.276, allocations: 0 / 0.8028 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009016/0.277, allocations: 0.6486 MB / 0.8034 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.49e-05/0.277, allocations: 124.5 kB / 0.8036 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.2771, allocations: 8 kB / 0.8036 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.2773, allocations: 35.86 kB / 0.8036 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.2774, allocations: 31.75 kB / 0.8036 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.2774, allocations: 15.94 kB / 0.8036 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002732/0.2777, allocations: 275.2 kB / 0.8039 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2777, allocations: 0 / 0.8039 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005116/0.2782, allocations: 187.3 kB / 0.8041 GB, free: 10.14 MB / 0.6231 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: 4 ($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 (41): * Single equations (assignments): 40 * 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.0001975/0.2784, allocations: 123.1 kB / 0.8042 GB, free: 10 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.2794, allocations: 0.7149 MB / 0.8049 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.2795, allocations: 8.25 kB / 0.8049 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.2797, allocations: 183.6 kB / 0.8051 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005428/0.2803, allocations: 81.5 kB / 0.8052 GB, free: 9 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.2817, allocations: 1.046 MB / 0.8062 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.2822, allocations: 0.8508 MB / 0.807 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000188/0.2824, allocations: 47.33 kB / 0.8071 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.617e-05/0.2825, allocations: 35.44 kB / 0.8071 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.2825, allocations: 0 / 0.8071 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of Templates: time 0.009769/0.2922, allocations: 5.183 MB / 0.8122 GB, free: 1.844 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: