Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001529/0.001529, allocations: 192.6 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.971/2.971, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001277, allocations: 66.98 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3837, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003625/0.3873, allocations: 2.101 MB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002211/0.3896, allocations: 1.606 MB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.3898, allocations: 8 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.3901, allocations: 63.38 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.3903, allocations: 55.58 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007035/0.391, allocations: 283.3 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005447/0.3915, allocations: 0.6217 MB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004705/0.392, allocations: 317.3 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.3922, allocations: 223 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.3925, allocations: 250.6 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.788e-05/0.3926, allocations: 36 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.3927, allocations: 55.97 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.648e-05/0.3928, allocations: 107.5 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.393, allocations: 258.4 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006718/0.3937, allocations: 0.7594 MB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3937, allocations: 0 / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3937, allocations: 4 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.3937, allocations: 0 / 1.074 GB, free: 4.168 MB / 0.8262 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.001582/0.3953, allocations: 0.9072 MB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3954, allocations: 15.97 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.3955, allocations: 72.08 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/0.396, allocations: 400.6 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.977e-05/0.3961, allocations: 41.38 kB / 1.075 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.644e-05/0.3962, allocations: 60.38 kB / 1.076 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008628/0.397, allocations: 0.4917 MB / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.3971, allocations: 192 / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.3971, allocations: 27.92 kB / 1.076 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.3971, allocations: 12 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006836/0.3978, allocations: 347.8 kB / 1.076 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002357/0.4002, allocations: 1.566 MB / 1.078 GB, free: 80 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.4013, allocations: 0.866 MB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/0.4017, allocations: 234.6 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/0.4017, allocations: 4 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004411/0.4022, allocations: 252.9 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 1.954e-06/0.4022, allocations: 0 / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=47): time 0.001036/0.4032, allocations: 0.5258 MB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/0.4033, allocations: 107.2 kB / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000523/0.4038, allocations: 389.6 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.4039, allocations: 37.7 kB / 1.08 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.4041, allocations: 252.9 kB / 1.08 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.4042, allocations: 153.8 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.4044, allocations: 106.1 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002418/0.4046, allocations: 354.8 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004074/0.4051, allocations: 183 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/0.4056, allocations: 288.2 kB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000741/0.4063, allocations: 427.4 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.4063, allocations: 4 kB / 1.082 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001067/0.4074, allocations: 0.5674 MB / 1.082 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.255e-05/0.4075, allocations: 49.56 kB / 1.083 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.4075, allocations: 4.047 kB / 1.083 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.4075, allocations: 7.984 kB / 1.083 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.4079, allocations: 91.89 kB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.4079, allocations: 12.16 kB / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003975/0.4083, allocations: 83.47 kB / 1.083 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.297e-05/0.4084, allocations: 23.98 kB / 1.083 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004725/0.4089, allocations: 281.2 kB / 1.083 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004206/0.4093, allocations: 256.3 kB / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006851/0.41, allocations: 388.1 kB / 1.084 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/0.41, allocations: 0 / 1.084 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.001055/0.4111, allocations: 0.5205 MB / 1.084 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.313e-05/0.4112, allocations: 41.92 kB / 1.084 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4112, allocations: 3.938 kB / 1.084 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.4112, allocations: 4 kB / 1.084 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.4116, allocations: 87.89 kB / 1.084 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.4116, allocations: 4 kB / 1.084 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004075/0.412, allocations: 71.62 kB / 1.084 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/0.412, allocations: 20 kB / 1.084 GB, free: 9.094 MB / 0.8419 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.0002909/0.4123, allocations: 212.8 kB / 1.085 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.135e-05/0.4124, allocations: 51.38 kB / 1.085 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009206/0.4133, allocations: 433.3 kB / 1.085 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.4134, allocations: 8 kB / 1.085 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.4134, allocations: 0 / 1.085 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.4134, allocations: 7.984 kB / 1.085 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.4153, allocations: 1.128 MB / 1.086 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4153, allocations: 4 kB / 1.086 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.4157, allocations: 79.89 kB / 1.086 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.4157, allocations: 4 kB / 1.086 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.4157, allocations: 12 kB / 1.086 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4157, allocations: 3.938 kB / 1.086 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.4157, allocations: 8.125 kB / 1.086 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.4169, allocations: 0.7363 MB / 1.087 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.417, allocations: 124.6 kB / 1.087 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.481e-05/0.417, allocations: 8.125 kB / 1.087 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.4173, allocations: 31.97 kB / 1.087 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/0.4173, allocations: 31.91 kB / 1.087 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.4174, allocations: 23.98 kB / 1.087 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003147/0.4177, allocations: 271.1 kB / 1.087 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4177, allocations: 0 / 1.087 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006437/0.4184, allocations: 203.2 kB / 1.088 GB, free: 5.594 MB / 0.8419 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.0002575/0.4186, allocations: 119.1 kB / 1.088 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001383/0.42, allocations: 0.7839 MB / 1.089 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.42, allocations: 0 / 1.089 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.4204, allocations: 196.6 kB / 1.089 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006365/0.421, allocations: 89.56 kB / 1.089 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.4226, allocations: 1.138 MB / 1.09 GB, free: 3.195 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.423, allocations: 0.8476 MB / 1.091 GB, free: 2.32 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002344/0.4232, allocations: 59.41 kB / 1.091 GB, free: 2.262 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.4234, allocations: 43.42 kB / 1.091 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.4234, allocations: 0 / 1.091 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of Templates: time 0.01095/0.4343, allocations: 5.705 MB / 1.096 GB, free: 12.58 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1)