Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.386/5.386, allocations: 0.5623 GB / 0.5776 GB, free: 3.34 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.002501/0.002501, allocations: 352.7 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.509/4.509, allocations: 410.7 MB / 1.113 GB, free: 5.918 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.001991/0.00199, allocations: 169.7 kB / 1.226 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000777/0.0007774, allocations: 16 kB / 1.349 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8058/0.8066, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.003889/0.8105, allocations: 2.611 MB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003283/0.8139, allocations: 1.638 MB / 1.466 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005831/0.8145, allocations: 19.94 kB / 1.466 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.8147, allocations: 67.89 kB / 1.466 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006687/0.8154, allocations: 126.6 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000639/0.816, allocations: 240.6 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001084/0.8171, allocations: 0.9405 MB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008005/0.8179, allocations: 444.1 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003792/0.8183, allocations: 243.5 kB / 1.468 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003395/0.8187, allocations: 300.4 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.65e-05/0.8188, allocations: 28 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.392e-05/0.8189, allocations: 24 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.819, allocations: 131.3 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.8191, allocations: 169.1 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.8203, allocations: 0.9694 MB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.8203, allocations: 0 / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8203, allocations: 0 / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.8203, allocations: 0 / 1.469 GB, free: 276.4 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002927/0.8232, allocations: 1.188 MB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.8233, allocations: 11.62 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002267/0.8236, allocations: 118.6 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.8246, allocations: 0.5704 MB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.516e-05/0.8247, allocations: 66.62 kB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.8249, allocations: 93.78 kB / 1.471 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.8269, allocations: 0.8622 MB / 1.472 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/0.827, allocations: 0.5 kB / 1.472 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.8271, allocations: 40.91 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.8272, allocations: 20 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.8291, allocations: 0.628 MB / 1.473 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005488/0.8346, allocations: 2.725 MB / 1.475 GB, free: 270 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/0.8368, allocations: 1.319 MB / 1.477 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009514/0.8378, allocations: 387.5 kB / 1.477 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.827e-05/0.8379, allocations: 13.42 kB / 1.477 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009966/0.8389, allocations: 347.7 kB / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=68): time 4.508e-06/0.8389, allocations: 0 / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=68): time 0.002534/0.8414, allocations: 0.8159 MB / 1.478 GB, free: 267 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.8415, allocations: 162.8 kB / 1.478 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008788/0.8424, allocations: 0.5972 MB / 1.479 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.631e-05/0.8425, allocations: 37.81 kB / 1.479 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000286/0.8428, allocations: 420.1 kB / 1.479 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.843, allocations: 232.5 kB / 1.479 GB, free: 265.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.8431, allocations: 12 kB / 1.479 GB, free: 265.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.8432, allocations: 382.8 kB / 1.48 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007549/0.844, allocations: 227.9 kB / 1.48 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008726/0.8448, allocations: 355.9 kB / 1.48 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00082/0.8457, allocations: 256 kB / 1.481 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.8457, allocations: 0 / 1.481 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001945/0.8477, allocations: 0.6812 MB / 1.481 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.38e-05/0.8477, allocations: 118.1 kB / 1.481 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.8478, allocations: 0 / 1.481 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.8478, allocations: 6.906 kB / 1.481 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.8488, allocations: 151.8 kB / 1.482 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/0.8489, allocations: 4 kB / 1.482 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007058/0.8496, allocations: 106.9 kB / 1.482 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.827e-05/0.8497, allocations: 24.52 kB / 1.482 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.8497, allocations: 4.625 kB / 1.482 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001008/0.8507, allocations: 476.2 kB / 1.482 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.8507, allocations: 1.906 kB / 1.482 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.8507, allocations: 4 kB / 1.482 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008008/0.8515, allocations: 123.8 kB / 1.482 GB, free: 262.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.8516, allocations: 4 kB / 1.482 GB, free: 262.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005874/0.8522, allocations: 85.81 kB / 1.482 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/0.8522, allocations: 20 kB / 1.482 GB, free: 262.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,limPIDInp.trigger,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0004808/0.8527, allocations: 294 kB / 1.483 GB, free: 262.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.8529, allocations: 75.06 kB / 1.483 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.8531, allocations: 80.02 kB / 1.483 GB, free: 262 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.8531, allocations: 7.938 kB / 1.483 GB, free: 262 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.8531, allocations: 0 / 1.483 GB, free: 262 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.8532, allocations: 157.4 kB / 1.483 GB, free: 261.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.8534, allocations: 12 kB / 1.483 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005471/0.8539, allocations: 58.98 kB / 1.483 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.854, allocations: 36.5 kB / 1.483 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002586/0.8566, allocations: 0.7667 MB / 1.484 GB, free: 261 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002705/0.8594, allocations: 1.118 MB / 1.485 GB, free: 259.9 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009298/0.8603, allocations: 287.7 kB / 1.485 GB, free: 259.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009238/0.8613, allocations: 420.3 kB / 1.486 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of Backend: time 7.11e-07/0.8613, allocations: 0 / 1.486 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003026/0.8643, allocations: 0.7058 MB / 1.486 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of SimCode: time 0.004372/0.8688, allocations: 2.179 MB / 1.488 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.05033/0.9192, allocations: 8.567 MB / 1.497 GB, free: 248 MB / 0.8542 GB