Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.29/2.29, allocations: 391.2 MB / 407 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 193.3 kB / 499.1 MB, free: 4.605 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.76/1.76, allocations: 222.9 MB / 0.7948 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 99.73 kB / 0.9329 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 52.94 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3592, allocations: 140.6 MB / 1.218 GB, free: 117.1 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.003027/0.3622, allocations: 1.861 MB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.3637, allocations: 1.244 MB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.3639, allocations: 8 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.3642, allocations: 59.45 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.3643, allocations: 35.77 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.3647, allocations: 143.9 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.365, allocations: 453 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003469/0.3653, allocations: 259.4 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.3655, allocations: 147.2 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.3656, allocations: 186.9 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.814e-05/0.3657, allocations: 24 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 3.563e-05/0.3657, allocations: 28 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.79e-05/0.3658, allocations: 79.62 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.3659, allocations: 182.8 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.3662, allocations: 0.5393 MB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3662, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3662, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.3663, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001104/0.3674, allocations: 0.7408 MB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.3674, allocations: 11.98 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.743e-05/0.3675, allocations: 52.28 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.3679, allocations: 344.3 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.3679, allocations: 33.38 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.898e-05/0.368, allocations: 40.38 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005735/0.3685, allocations: 415.5 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.3686, allocations: 192 / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.3686, allocations: 19.94 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.3686, allocations: 11.98 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004897/0.3692, allocations: 287.8 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.3708, allocations: 1.382 MB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006478/0.3715, allocations: 248.2 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.3717, allocations: 122.1 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.3717, allocations: 4 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.3717, allocations: 38.52 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.3718, allocations: 3.938 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of matching and sorting (n=20): time 0.0006102/0.3724, allocations: 290.4 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.3724, allocations: 118.8 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000444/0.3729, allocations: 397.7 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.3729, allocations: 33.7 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.3731, allocations: 251.6 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/0.3731, allocations: 70.98 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.724e-05/0.3732, allocations: 69.94 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3733, allocations: 346.8 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.3736, allocations: 118.1 kB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.3739, allocations: 210.3 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004271/0.3743, allocations: 272.6 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3743, allocations: 0 / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005995/0.3749, allocations: 366.1 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.375, allocations: 8 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.375, allocations: 0 / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.375, allocations: 7.938 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.3753, allocations: 75.89 kB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.3753, allocations: 4 kB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.3755, allocations: 55.5 kB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.3756, allocations: 16 kB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00023/0.3758, allocations: 200.8 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001884/0.376, allocations: 192.2 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000257/0.3763, allocations: 229.7 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/0.3763, allocations: 4 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004275/0.3767, allocations: 326.5 kB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.3767, allocations: 4 kB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3768, allocations: 7.984 kB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-06/0.3768, allocations: 4 kB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.377, allocations: 63.84 kB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.377, allocations: 4 kB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.3772, allocations: 40.05 kB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.3772, allocations: 8 kB / 1.23 GB, free: 104 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.3773, allocations: 196.3 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/0.3774, allocations: 39.52 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004651/0.3779, allocations: 248.9 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.3779, allocations: 4 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3779, allocations: 0 / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3779, allocations: 0 / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.3789, allocations: 0.791 MB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3789, allocations: 0 / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.3791, allocations: 43.91 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3791, allocations: 8 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.3792, allocations: 11.98 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3792, allocations: 3.938 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3792, allocations: 4 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003376/0.3826, allocations: 2.5 MB / 1.234 GB, free: 99.97 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.089e-05/0.3826, allocations: 120.6 kB / 1.234 GB, free: 99.83 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.3827, allocations: 11.94 kB / 1.234 GB, free: 99.82 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.3829, allocations: 19.98 kB / 1.234 GB, free: 99.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.3829, allocations: 11.98 kB / 1.234 GB, free: 99.79 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.3829, allocations: 11.98 kB / 1.234 GB, free: 99.78 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000249/0.3832, allocations: 283.2 kB / 1.235 GB, free: 99.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3832, allocations: 3.938 kB / 1.235 GB, free: 99.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000631/0.3838, allocations: 175.4 kB / 1.235 GB, free: 99.32 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002056/0.384, allocations: 119.2 kB / 1.235 GB, free: 99.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0007285/0.3848, allocations: 384.8 kB / 1.235 GB, free: 98.82 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3848, allocations: 0.875 kB / 1.235 GB, free: 98.82 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.385, allocations: 96.14 kB / 1.235 GB, free: 98.73 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000642/0.3856, allocations: 65.47 kB / 1.235 GB, free: 98.67 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.3869, allocations: 0.9993 MB / 1.236 GB, free: 97.61 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.3871, allocations: 0.7999 MB / 1.237 GB, free: 96.78 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001693/0.3873, allocations: 51.33 kB / 1.237 GB, free: 96.73 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.794e-05/0.3874, allocations: 39.36 kB / 1.237 GB, free: 96.69 MB / 0.823 GB Notification: Performance of SimCode: time 6.51e-07/0.3874, allocations: 0 / 1.237 GB, free: 96.69 MB / 0.823 GB Notification: Performance of Templates: time 0.006881/0.3943, allocations: 3.802 MB / 1.241 GB, free: 92.92 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)