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 4.862/4.862, allocations: 0.5623 GB / 0.5776 GB, free: 3.344 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.002777/0.002777, allocations: 359.4 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.538/4.538, allocations: 410.7 MB / 1.113 GB, free: 5.941 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.002586/0.002585, allocations: 183.7 kB / 1.226 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006991/0.0006994, allocations: 20 kB / 1.349 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8779/0.8786, 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.005151/0.8838, allocations: 2.521 MB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007734/0.8916, allocations: 0.8723 MB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004141/0.8921, allocations: 14.31 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.8922, allocations: 31.64 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001977/0.8942, allocations: 98.36 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008624/0.8951, allocations: 159.1 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007775/0.8959, allocations: 443.2 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004626/0.8964, allocations: 147.8 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.8967, allocations: 123.2 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.897, allocations: 127.2 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.355e-05/0.8971, allocations: 12 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.272e-05/0.8971, allocations: 12.75 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.273e-05/0.8972, allocations: 51.66 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.929e-05/0.8973, allocations: 94.95 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005393/0.8979, allocations: 365.2 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.8979, allocations: 0 / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8979, allocations: 0 / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.8979, allocations: 0 / 1.466 GB, free: 279.3 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.00134/0.8993, allocations: 0.651 MB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.8993, allocations: 18.09 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.8995, allocations: 44.42 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006652/0.9001, allocations: 387.3 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.9002, allocations: 24.66 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.238e-05/0.9003, allocations: 29.59 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007533/0.901, allocations: 335.3 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.9011, allocations: 4 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/0.9011, allocations: 12.69 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.9011, allocations: 10.02 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006798/0.9018, allocations: 216 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.9036, allocations: 1.196 MB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007886/0.9044, allocations: 235.8 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.9048, allocations: 119.7 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.9048, allocations: 8.125 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.9049, allocations: 34.75 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=22): time 2.665e-06/0.9049, allocations: 0 / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22): time 0.0009247/0.9058, allocations: 299 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.9058, allocations: 110.8 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003935/0.9063, allocations: 329.7 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.9063, allocations: 29.7 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.9065, allocations: 224.1 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.305e-05/0.9065, allocations: 80.41 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.876e-05/0.9066, allocations: 4 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.055e-05/0.9066, allocations: 346.8 kB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.9069, allocations: 76.97 kB / 1.471 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.9072, allocations: 150.7 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.9075, allocations: 90.89 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.9076, allocations: 0.75 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007133/0.9083, allocations: 282.8 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.9083, allocations: 15.58 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.9083, allocations: 0 / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.9084, allocations: 4 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.9088, allocations: 48.98 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.9088, allocations: 11.94 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.9091, allocations: 41.14 kB / 1.472 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.9092, allocations: 9.281 kB / 1.472 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.0001848/0.9094, allocations: 161.9 kB / 1.472 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/0.9095, allocations: 34.34 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.643e-05/0.9096, allocations: 39.36 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.9096, allocations: 7.922 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.9096, allocations: 0 / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.9097, allocations: 136.5 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.013e-05/0.9098, allocations: 4 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/0.9101, allocations: 25.98 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.615e-05/0.9102, allocations: 19.97 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008917/0.9111, allocations: 307.5 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000962/0.9121, allocations: 0.4935 MB / 1.473 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002903/0.9124, allocations: 97.48 kB / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002775/0.9127, allocations: 235.2 kB / 1.473 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of Backend: time 9.32e-07/0.9127, allocations: 0.7188 kB / 1.473 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007397/0.9134, allocations: 212.2 kB / 1.473 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001688/0.9151, allocations: 1.283 MB / 1.474 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.009557/0.9247, allocations: 3.208 MB / 1.478 GB, free: 267.6 MB / 0.8542 GB