Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.249/5.249, allocations: 0.5623 GB / 0.5776 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00241/0.00241, allocations: 359.6 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.561/4.561, allocations: 410.7 MB / 1.113 GB, free: 5.938 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002818/0.002818, allocations: 187.1 kB / 1.226 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0009997/0.0009999, allocations: 12 kB / 1.349 GB, free: 8.242 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7869/0.7879, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.003567/0.7916, allocations: 1.658 MB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003968/0.7956, allocations: 1.583 MB / 1.465 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005145/0.7962, allocations: 11.94 kB / 1.465 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.7963, allocations: 40.52 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005883/0.7969, allocations: 73.94 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.7985, allocations: 316.5 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001229/0.7997, allocations: 0.6506 MB / 1.466 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006385/0.8004, allocations: 244.1 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003986/0.8008, allocations: 200.7 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.8011, allocations: 210.7 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.225e-05/0.8012, allocations: 24.69 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.8014, allocations: 39.98 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.917e-05/0.8014, allocations: 80.55 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.8016, allocations: 117.4 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007693/0.8024, allocations: 0.6526 MB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.8024, allocations: 0.5 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8024, allocations: 0.9688 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.8024, allocations: 4 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001976/0.8044, allocations: 0.8892 MB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.8045, allocations: 11.62 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.8047, allocations: 76.28 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007098/0.8054, allocations: 431.1 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.455e-05/0.8055, allocations: 41.66 kB / 1.469 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.8056, allocations: 59.91 kB / 1.469 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.8068, allocations: 0.4952 MB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.8069, allocations: 0 / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-05/0.8069, allocations: 20 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.807, allocations: 19.94 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.808, allocations: 357 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003204/0.8112, allocations: 1.582 MB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.8126, allocations: 0.8883 MB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000563/0.8132, allocations: 235.5 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.662e-05/0.8132, allocations: 5.078 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007462/0.814, allocations: 264.2 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=47): time 4.048e-06/0.814, allocations: 0 / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=47): time 0.00166/0.8157, allocations: 0.5509 MB / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.8158, allocations: 115.2 kB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005721/0.8163, allocations: 405.9 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.8165, allocations: 42.19 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.8167, allocations: 258.2 kB / 1.474 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.8168, allocations: 161.7 kB / 1.474 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.587e-05/0.8169, allocations: 12.5 kB / 1.474 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.859e-05/0.817, allocations: 359.6 kB / 1.474 GB, free: 271 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006436/0.8176, allocations: 191.5 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006825/0.8183, allocations: 298.1 kB / 1.475 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006629/0.819, allocations: 262.3 kB / 1.475 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.819, allocations: 0 / 1.475 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001701/0.8208, allocations: 0.6321 MB / 1.475 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.8209, allocations: 203 kB / 1.476 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.8209, allocations: 4 kB / 1.476 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.821, allocations: 4.594 kB / 1.476 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006585/0.8216, allocations: 89.3 kB / 1.476 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.8217, allocations: 4 kB / 1.476 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.8227, allocations: 133.3 kB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-05/0.8228, allocations: 25.05 kB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.8228, allocations: 4 kB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001238/0.8241, allocations: 0.5297 MB / 1.476 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.8241, allocations: 3.062 kB / 1.476 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.8241, allocations: 4 kB / 1.476 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005183/0.8246, allocations: 77.03 kB / 1.477 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.8247, allocations: 11.92 kB / 1.477 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.8257, allocations: 123.8 kB / 1.477 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-05/0.8258, allocations: 24 kB / 1.477 GB, free: 268.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0003855/0.8262, allocations: 255.9 kB / 1.477 GB, free: 268 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-05/0.8263, allocations: 47.44 kB / 1.477 GB, free: 268 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.8264, allocations: 53.19 kB / 1.477 GB, free: 267.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.8264, allocations: 3.984 kB / 1.477 GB, free: 267.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.8265, allocations: 4 kB / 1.477 GB, free: 267.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-05/0.8266, allocations: 128.4 kB / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.349e-05/0.8267, allocations: 12 kB / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.827, allocations: 33.88 kB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.839e-05/0.8271, allocations: 24.41 kB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001647/0.8288, allocations: 0.5372 MB / 1.478 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001745/0.8305, allocations: 0.8081 MB / 1.479 GB, free: 266.4 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004876/0.8311, allocations: 193.5 kB / 1.479 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004255/0.8315, allocations: 291.1 kB / 1.479 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of Backend: time 5.21e-07/0.8315, allocations: 4.5 kB / 1.479 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002304/0.8338, allocations: 0.8951 MB / 1.48 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of SimCode: time 0.002394/0.8363, allocations: 1.523 MB / 1.481 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.02116/0.8575, allocations: 7.814 MB / 1.489 GB, free: 255.9 MB / 0.8542 GB