Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.Continuous.Examples.PIDHysteresis.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.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.008/5.008, allocations: 0.5623 GB / 0.577 GB, free: 3.316 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.002398/0.002397, allocations: 361.6 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.25/4.25, allocations: 410.7 MB / 1.112 GB, free: 6 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.001817/0.001816, allocations: 188.1 kB / 1.225 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004879, allocations: 15.98 kB / 1.348 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5842/0.5847, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.002806/0.5875, allocations: 2.527 MB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.5891, allocations: 0.8728 MB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002665/0.5894, allocations: 19.09 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 6.769e-05/0.5895, allocations: 31.64 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003841/0.5899, allocations: 87.28 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.5903, allocations: 158.5 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004111/0.5908, allocations: 439.7 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002791/0.5911, allocations: 156 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.5912, allocations: 123.9 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.5914, allocations: 130.2 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.181e-05/0.5915, allocations: 11.94 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.148e-05/0.5915, allocations: 12 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.502e-05/0.5916, allocations: 51.7 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.844e-05/0.5917, allocations: 93.45 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.592, allocations: 361.2 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.592, allocations: 0 / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.859e-06/0.592, allocations: 4 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.77e-06/0.592, allocations: 1.375 kB / 1.466 GB, free: 279.2 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0009565/0.593, allocations: 0.6505 MB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.593, allocations: 8.031 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.77e-05/0.5931, allocations: 48 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005661/0.5937, allocations: 384.5 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.5938, allocations: 20.66 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/0.5938, allocations: 32 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006488/0.5945, allocations: 337.5 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.5945, allocations: 1.781 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.812e-05/0.5946, allocations: 12 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.5946, allocations: 8 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000578/0.5952, allocations: 219.1 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.5968, allocations: 1.191 MB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006616/0.5975, allocations: 241.2 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.5977, allocations: 118 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.5978, allocations: 4.969 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.5978, allocations: 39.34 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=22): time 2.848e-06/0.5978, allocations: 0 / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22): time 0.0008075/0.5987, allocations: 302 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.5987, allocations: 102.8 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/0.5991, allocations: 336.2 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.5991, allocations: 33.7 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.5993, allocations: 224.1 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.5994, allocations: 74.94 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.727e-05/0.5994, allocations: 8 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.5995, allocations: 347.4 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.5997, allocations: 77.12 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.6, allocations: 151.5 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.6002, allocations: 81.8 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.198e-06/0.6003, allocations: 0.6875 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006258/0.6009, allocations: 285.8 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.6009, allocations: 7.984 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.868e-06/0.6009, allocations: 5.469 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.601, allocations: 1.734 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.6013, allocations: 59.88 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1e-05/0.6013, allocations: 9.453 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.6016, allocations: 36.42 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.6016, allocations: 8 kB / 1.471 GB, free: 273.6 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: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001777/0.6018, allocations: 163.3 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/0.6019, allocations: 31.62 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.67e-05/0.602, allocations: 40.17 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/0.602, allocations: 4 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.425e-06/0.602, allocations: 9.938 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.103e-06/0.602, allocations: 0 / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004377/0.6025, allocations: 393.2 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.904e-06/0.6025, allocations: 0 / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/0.6028, allocations: 43.92 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.474e-06/0.6029, allocations: 0.625 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.6029, allocations: 11.98 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.6029, allocations: 2.25 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.766e-06/0.6029, allocations: 0 / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008695/0.6038, allocations: 433.2 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.604, allocations: 120.7 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.835e-05/0.604, allocations: 11.98 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/0.6043, allocations: 23.11 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.662e-05/0.6044, allocations: 16.48 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.6044, allocations: 11.94 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002654/0.6047, allocations: 235.2 kB / 1.472 GB, free: 272 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.67e-07/0.6047, allocations: 6.188 kB / 1.472 GB, free: 272 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004245/0.6052, allocations: 71.7 kB / 1.472 GB, free: 272 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.0001048/0.6053, allocations: 107.1 kB / 1.473 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000579/0.6059, allocations: 209.8 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.52e-06/0.6059, allocations: 0.5625 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.6061, allocations: 97.38 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000642/0.6068, allocations: 83.3 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.6082, allocations: 0.8267 MB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.6085, allocations: 0.8043 MB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000209/0.6087, allocations: 42.19 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.788e-05/0.6088, allocations: 23.44 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.75e-06/0.6088, allocations: 1.094 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.008302/0.6171, allocations: 2.857 MB / 1.477 GB, free: 267.1 MB / 0.8542 GB