Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.323/2.323, allocations: 391.2 MB / 407 MB, free: 10.83 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.001718/0.001718, allocations: 193.3 kB / 499.1 MB, free: 4.621 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.547/1.547, allocations: 222.9 MB / 0.7948 GB, free: 15.79 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.001094/0.001094, allocations: 103.7 kB / 0.9329 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 54.58 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3717, 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.PIDScale): time 0.003154/0.3749, allocations: 2.102 MB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002272/0.3772, allocations: 1.591 MB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000233/0.3775, allocations: 8 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.3778, allocations: 59.38 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.378, allocations: 55.58 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006867/0.3786, allocations: 283.2 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0004529/0.3791, allocations: 0.6334 MB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004056/0.3795, allocations: 313.3 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.3797, allocations: 215 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.3799, allocations: 254.6 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 6.205e-05/0.38, allocations: 44 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.3801, allocations: 43.98 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.101e-05/0.3802, allocations: 119.5 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.3804, allocations: 258.4 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000544/0.3809, allocations: 0.7611 MB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.381, allocations: 0 / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.853e-06/0.381, allocations: 4 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.381, allocations: 0 / 1.225 GB, free: 110.4 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001468/0.3825, allocations: 0.9032 MB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.3825, allocations: 15.98 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.3826, allocations: 64.19 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004589/0.3831, allocations: 412.6 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.3832, allocations: 37.38 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.794e-05/0.3832, allocations: 60.38 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006836/0.3839, allocations: 499.5 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3839, allocations: 192 / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/0.384, allocations: 23.94 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.384, allocations: 12 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005669/0.3846, allocations: 355.8 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.3865, allocations: 1.558 MB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007385/0.3873, allocations: 0.8682 MB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.3876, allocations: 224.8 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/0.3876, allocations: 15.88 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004806/0.3881, allocations: 249.5 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=47): time 1.783e-06/0.3881, allocations: 0 / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=47): time 0.0008918/0.389, allocations: 0.5182 MB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.3891, allocations: 111.2 kB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.3895, allocations: 397.5 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.3895, allocations: 37.7 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.3897, allocations: 256.9 kB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.151e-05/0.3898, allocations: 157.7 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.3899, allocations: 94.23 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.73e-05/0.39, allocations: 358.8 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/0.3904, allocations: 191 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/0.3908, allocations: 272.3 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005909/0.3914, allocations: 443.3 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3914, allocations: 0 / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008929/0.3923, allocations: 0.5676 MB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.05e-05/0.3924, allocations: 45.64 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3924, allocations: 0 / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.3924, allocations: 4 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/0.3928, allocations: 95.88 kB / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.3928, allocations: 4 kB / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/0.3932, allocations: 83.47 kB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.3932, allocations: 27.98 kB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003597/0.3936, allocations: 285.1 kB / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003077/0.3939, allocations: 256.3 kB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004219/0.3944, allocations: 387.4 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/0.3944, allocations: 7.938 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0006986/0.3951, allocations: 0.5128 MB / 1.235 GB, free: 99.55 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.3951, allocations: 42.62 kB / 1.235 GB, free: 99.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3951, allocations: 3.938 kB / 1.235 GB, free: 99.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/0.3951, allocations: 7.938 kB / 1.235 GB, free: 99.49 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.3954, allocations: 87.84 kB / 1.235 GB, free: 99.41 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3954, allocations: 4 kB / 1.235 GB, free: 99.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.3958, allocations: 75.84 kB / 1.235 GB, free: 99.33 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.3958, allocations: 20 kB / 1.235 GB, free: 99.31 MB / 0.823 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,pulse.booPul.y,$PRE.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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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.000152/0.396, allocations: 212.8 kB / 1.235 GB, free: 99.09 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.396, allocations: 51.38 kB / 1.235 GB, free: 99.04 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000684/0.3967, allocations: 433.4 kB / 1.236 GB, free: 98.61 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3967, allocations: 4 kB / 1.236 GB, free: 98.61 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.3967, allocations: 0 / 1.236 GB, free: 98.61 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.3968, allocations: 0 / 1.236 GB, free: 98.61 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.3981, allocations: 1.147 MB / 1.237 GB, free: 97.39 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3981, allocations: 3.984 kB / 1.237 GB, free: 97.38 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.3984, allocations: 88.08 kB / 1.237 GB, free: 97.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.3985, allocations: 0 / 1.237 GB, free: 97.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.3985, allocations: 15.98 kB / 1.237 GB, free: 97.28 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3985, allocations: 7.938 kB / 1.237 GB, free: 97.27 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3985, allocations: 3.938 kB / 1.237 GB, free: 97.27 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004795/0.4033, allocations: 3.722 MB / 1.24 GB, free: 93.39 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.972e-05/0.4034, allocations: 124.6 kB / 1.241 GB, free: 93.25 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.4035, allocations: 16 kB / 1.241 GB, free: 93.23 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.4037, allocations: 23.98 kB / 1.241 GB, free: 93.21 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.4037, allocations: 27.89 kB / 1.241 GB, free: 93.18 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.4038, allocations: 16 kB / 1.241 GB, free: 93.17 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002354/0.404, allocations: 279.2 kB / 1.241 GB, free: 92.89 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.404, allocations: 0 / 1.241 GB, free: 92.89 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008675/0.4049, allocations: 251.3 kB / 1.241 GB, free: 92.65 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000235/0.4051, allocations: 125.7 kB / 1.241 GB, free: 92.52 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.4063, allocations: 0.7837 MB / 1.242 GB, free: 91.71 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4063, allocations: 0 / 1.242 GB, free: 91.71 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002724/0.4066, allocations: 192.8 kB / 1.242 GB, free: 91.53 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005966/0.4072, allocations: 98.44 kB / 1.242 GB, free: 91.43 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.4087, allocations: 1.439 MB / 1.244 GB, free: 89.94 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.409, allocations: 0.8556 MB / 1.245 GB, free: 89.05 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002293/0.4093, allocations: 67.34 kB / 1.245 GB, free: 88.98 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.4094, allocations: 43.42 kB / 1.245 GB, free: 88.94 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.4094, allocations: 0 / 1.245 GB, free: 88.94 MB / 0.823 GB Notification: Performance of Templates: time 0.01029/0.4197, allocations: 6.695 MB / 1.251 GB, free: 82.29 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)