Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001045/0.001045, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.009051/0.009051, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.563/1.563, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.096/3.096, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003633, allocations: 12.41 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4251, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.002692/0.4279, allocations: 1.712 MB / 1.076 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003066/0.431, allocations: 1.579 MB / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004776/0.4315, allocations: 8 kB / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.4318, allocations: 63.31 kB / 1.077 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003624/0.4322, allocations: 51.64 kB / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009266/0.4332, allocations: 287.2 kB / 1.078 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008641/0.4341, allocations: 0.614 MB / 1.078 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005769/0.4346, allocations: 317.2 kB / 1.079 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.4349, allocations: 175 kB / 1.079 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.4352, allocations: 206.6 kB / 1.079 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.889e-05/0.4353, allocations: 20 kB / 1.079 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.4354, allocations: 35.98 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.182e-05/0.4355, allocations: 79.55 kB / 1.079 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.4358, allocations: 240.2 kB / 1.079 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007239/0.4365, allocations: 0.7358 MB / 1.08 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4365, allocations: 3.938 kB / 1.08 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.043e-06/0.4365, allocations: 4 kB / 1.08 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.284e-05/0.4365, allocations: 0 / 1.08 GB, free: 1.391 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.001758/0.4383, allocations: 0.8098 MB / 1.081 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.4384, allocations: 12.03 kB / 1.081 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000232/0.4386, allocations: 68.19 kB / 1.081 GB, free: 456 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000669/0.4393, allocations: 408.5 kB / 1.081 GB, free: 4 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.297e-05/0.4394, allocations: 45.36 kB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.4395, allocations: 60.38 kB / 1.081 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.4406, allocations: 0.4995 MB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.4406, allocations: 4.125 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/0.4407, allocations: 27.94 kB / 1.082 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.4407, allocations: 12 kB / 1.082 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008639/0.4416, allocations: 359.8 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002816/0.4444, allocations: 1.593 MB / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.4454, allocations: 0.887 MB / 1.085 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004057/0.4459, allocations: 238.6 kB / 1.085 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.4459, allocations: 4 kB / 1.085 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000495/0.4464, allocations: 256.8 kB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 2.404e-06/0.4464, allocations: 0 / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=47): time 0.001198/0.4476, allocations: 0.5493 MB / 1.086 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.83e-05/0.4477, allocations: 107.2 kB / 1.086 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005021/0.4482, allocations: 389.6 kB / 1.086 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.78e-05/0.4483, allocations: 37.7 kB / 1.086 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.4485, allocations: 257 kB / 1.087 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.4487, allocations: 153.7 kB / 1.087 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.202e-05/0.4487, allocations: 49.69 kB / 1.087 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.4489, allocations: 358.8 kB / 1.087 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/0.4494, allocations: 185 kB / 1.087 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005007/0.4499, allocations: 292.2 kB / 1.088 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008061/0.4507, allocations: 451.4 kB / 1.088 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.4507, allocations: 0 / 1.088 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001125/0.4519, allocations: 0.583 MB / 1.089 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.452, allocations: 176 kB / 1.089 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.712e-05/0.452, allocations: 4 kB / 1.089 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.4521, allocations: 7.984 kB / 1.089 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000405/0.4525, allocations: 111.8 kB / 1.089 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.4525, allocations: 4 kB / 1.089 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004316/0.4529, allocations: 103.5 kB / 1.089 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/0.453, allocations: 20 kB / 1.089 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-06/0.453, allocations: 4 kB / 1.089 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008724/0.4539, allocations: 479.9 kB / 1.089 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.4539, allocations: 8.156 kB / 1.089 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-06/0.4539, allocations: 4 kB / 1.089 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.4542, allocations: 91.78 kB / 1.089 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4542, allocations: 4 kB / 1.089 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003975/0.4546, allocations: 91.48 kB / 1.09 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.4547, allocations: 23.98 kB / 1.09 GB, free: 7.184 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.0002838/0.455, allocations: 253 kB / 1.09 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/0.455, allocations: 47.44 kB / 1.09 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.4561, allocations: 445.3 kB / 1.09 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.4561, allocations: 4 kB / 1.09 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4561, allocations: 4 kB / 1.09 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.4561, allocations: 3.984 kB / 1.09 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.458, allocations: 1.163 MB / 1.091 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.458, allocations: 0 / 1.091 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003463/0.4584, allocations: 84.08 kB / 1.092 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/0.4584, allocations: 4 kB / 1.092 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/0.4584, allocations: 16 kB / 1.092 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.4585, allocations: 4 kB / 1.092 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.4585, allocations: 7.938 kB / 1.092 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.4597, allocations: 0.7443 MB / 1.092 GB, free: 4.285 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.4598, allocations: 132.5 kB / 1.092 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.888e-05/0.4599, allocations: 12 kB / 1.092 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.4602, allocations: 31.98 kB / 1.092 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.703e-05/0.4603, allocations: 39.83 kB / 1.093 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.4603, allocations: 12 kB / 1.093 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003668/0.4607, allocations: 275.2 kB / 1.093 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of sort global known variables: time 7.31e-07/0.4607, allocations: 0 / 1.093 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008176/0.4615, allocations: 191.3 kB / 1.093 GB, free: 3.586 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.0003522/0.4619, allocations: 127.1 kB / 1.093 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.4634, allocations: 0.7997 MB / 1.094 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.4634, allocations: 0 / 1.094 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.4638, allocations: 212.5 kB / 1.094 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007615/0.4646, allocations: 93.38 kB / 1.094 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.4663, allocations: 1.161 MB / 1.095 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.4668, allocations: 0.8515 MB / 1.096 GB, free: 244 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002157/0.4671, allocations: 55.36 kB / 1.096 GB, free: 188 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.4672, allocations: 35.44 kB / 1.096 GB, free: 152 kB / 0.8419 GB Notification: Performance of SimCode: time 4.41e-07/0.4672, allocations: 4 kB / 1.096 GB, free: 148 kB / 0.8419 GB Notification: Performance of Templates: time 0.01159/0.4788, allocations: 5.654 MB / 1.102 GB, free: 10.55 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1)