Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.215/5.215, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 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.002419/0.002419, allocations: 362.5 kB / 0.644 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.493/4.493, allocations: 410.7 MB / 1.112 GB, free: 5.836 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.001802/0.001802, allocations: 180.4 kB / 1.225 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004931/0.0004935, allocations: 12 kB / 1.348 GB, free: 8.133 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6306/0.6311, 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.PIDInitialState): time 0.001671/0.6328, allocations: 1.372 MB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.6344, allocations: 1.201 MB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002791/0.6347, allocations: 11.94 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 6.524e-05/0.6348, allocations: 27.66 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.6352, allocations: 60.75 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.6354, allocations: 108.9 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003985/0.6358, allocations: 429 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002994/0.6361, allocations: 182.8 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.6363, allocations: 99.39 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.6364, allocations: 139.1 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.369e-05/0.6365, allocations: 12 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 3.481e-05/0.6365, allocations: 12 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.924e-05/0.6366, allocations: 59.69 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/0.6366, allocations: 90.2 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.637, allocations: 444.9 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.637, allocations: 1.375 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.823e-06/0.637, allocations: 3.938 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.637, allocations: 0 / 1.465 GB, free: 280.1 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001082/0.6381, allocations: 0.6927 MB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.6382, allocations: 16.12 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.6383, allocations: 55.42 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/0.6388, allocations: 357.2 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.6389, allocations: 29 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.6389, allocations: 37.36 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007588/0.6397, allocations: 397.9 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.6398, allocations: 3.938 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.053e-05/0.6398, allocations: 19.94 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.6398, allocations: 9.062 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006849/0.6405, allocations: 283.9 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002129/0.6427, allocations: 1.344 MB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000685/0.6434, allocations: 249.7 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.6437, allocations: 114.4 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.6437, allocations: 4 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.6437, allocations: 40.06 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=17): time 4.004e-06/0.6438, allocations: 1.312 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17): time 0.0007968/0.6446, allocations: 302.7 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.6446, allocations: 102.8 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005114/0.6451, allocations: 421.6 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.6452, allocations: 26.89 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.6453, allocations: 259.7 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.6454, allocations: 60.33 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.612e-05/0.6454, allocations: 4 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.688e-05/0.6455, allocations: 346.8 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/0.6458, allocations: 106.9 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.6461, allocations: 203 kB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.6465, allocations: 134.1 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.883e-06/0.6465, allocations: 6.062 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007811/0.6473, allocations: 352.4 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.387e-05/0.6474, allocations: 151.1 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.364e-06/0.6474, allocations: 4 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.6474, allocations: 4.531 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.6478, allocations: 73.92 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.6478, allocations: 4 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.6481, allocations: 64.91 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.6481, allocations: 13.59 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.564e-06/0.6481, allocations: 7.938 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004178/0.6486, allocations: 233 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.316e-06/0.6486, allocations: 0 / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.075e-06/0.6486, allocations: 5.156 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.6488, allocations: 63.84 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.558e-06/0.6489, allocations: 4 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.6491, allocations: 42.45 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.6491, allocations: 12 kB / 1.471 GB, free: 273.3 MB / 0.8542 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 (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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.0002651/0.6494, allocations: 233 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.262e-05/0.6495, allocations: 39.53 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.87e-05/0.6496, allocations: 37.31 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.264e-06/0.6496, allocations: 4.562 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.325e-06/0.6496, allocations: 4 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.6496, allocations: 4.953 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.6509, allocations: 0.7109 MB / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.344e-06/0.6509, allocations: 4.812 kB / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.6512, allocations: 40.61 kB / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.564e-06/0.6512, allocations: 1.5 kB / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.6512, allocations: 11.98 kB / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.6512, allocations: 0 / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.099e-06/0.6512, allocations: 3.953 kB / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007759/0.652, allocations: 439.3 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.6522, allocations: 112.7 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.501e-05/0.6522, allocations: 8.656 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.6525, allocations: 28.14 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.6526, allocations: 13.39 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.6526, allocations: 7.984 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003646/0.653, allocations: 291.2 kB / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.42e-07/0.653, allocations: 3.938 kB / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006524/0.6536, allocations: 127.4 kB / 1.473 GB, free: 271.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001366/0.6538, allocations: 110 kB / 1.473 GB, free: 271 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008654/0.6547, allocations: 369.6 kB / 1.474 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.264e-06/0.6547, allocations: 0 / 1.474 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.6549, allocations: 93.17 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006691/0.6556, allocations: 75.94 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.657, allocations: 0.7734 MB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.6573, allocations: 0.8088 MB / 1.475 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002183/0.6575, allocations: 40.72 kB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.645e-05/0.6576, allocations: 31.42 kB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.622e-06/0.6576, allocations: 0 / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.008842/0.6665, allocations: 3.038 MB / 1.479 GB, free: 266 MB / 0.8542 GB