Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 192.1 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.855/1.855, allocations: 205.1 MB / 222 MB, free: 4.98 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.625/1.625, allocations: 251.7 MB / 0.5088 GB, free: 3.312 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001372, allocations: 67.91 kB / 0.6216 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7268/0.7282, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.005421/0.7337, allocations: 2.832 MB / 0.7266 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.7357, allocations: 0.8932 MB / 0.7275 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.7359, allocations: 15.88 kB / 0.7275 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.7362, allocations: 71.38 kB / 0.7275 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.7366, allocations: 47.66 kB / 0.7276 GB, free: 9.254 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.7369, allocations: 159.8 kB / 0.7277 GB, free: 9.098 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004385/0.7374, allocations: 484.8 kB / 0.7282 GB, free: 8.625 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004504/0.7378, allocations: 263.3 kB / 0.7285 GB, free: 8.359 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.738, allocations: 147.1 kB / 0.7286 GB, free: 8.215 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.7382, allocations: 182.9 kB / 0.7288 GB, free: 8.035 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.915e-05/0.7383, allocations: 27.94 kB / 0.7288 GB, free: 8.008 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.967e-05/0.7384, allocations: 28 kB / 0.7288 GB, free: 7.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.887e-05/0.7384, allocations: 79.62 kB / 0.7289 GB, free: 7.902 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.7386, allocations: 198.6 kB / 0.7291 GB, free: 7.707 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005643/0.7392, allocations: 0.5508 MB / 0.7296 GB, free: 7.156 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.7392, allocations: 4 kB / 0.7296 GB, free: 7.152 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.183e-06/0.7392, allocations: 0 / 0.7296 GB, free: 7.152 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.7392, allocations: 0 / 0.7296 GB, free: 7.152 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001414/0.7406, allocations: 0.7832 MB / 0.7304 GB, free: 6.32 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.7407, allocations: 12.03 kB / 0.7304 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.7408, allocations: 52.28 kB / 0.7305 GB, free: 6.258 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/0.7413, allocations: 372.7 kB / 0.7308 GB, free: 5.855 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.7413, allocations: 33.38 kB / 0.7308 GB, free: 5.824 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.197e-05/0.7414, allocations: 44.31 kB / 0.7309 GB, free: 5.781 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006938/0.7421, allocations: 422.8 kB / 0.7313 GB, free: 5.336 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.7421, allocations: 3.938 kB / 0.7313 GB, free: 5.332 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.7422, allocations: 16 kB / 0.7313 GB, free: 5.316 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.7422, allocations: 8 kB / 0.7313 GB, free: 5.309 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000578/0.7428, allocations: 287.8 kB / 0.7316 GB, free: 5.031 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/0.7451, allocations: 1.703 MB / 0.7333 GB, free: 3.246 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006522/0.7458, allocations: 262.9 kB / 0.7335 GB, free: 2.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.746, allocations: 124.8 kB / 0.7336 GB, free: 2.855 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.7461, allocations: 4 kB / 0.7336 GB, free: 2.852 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.7461, allocations: 34.56 kB / 0.7337 GB, free: 2.809 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.7461, allocations: 0 / 0.7337 GB, free: 2.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=20): time 0.0007267/0.7469, allocations: 303.6 kB / 0.734 GB, free: 2.508 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.7469, allocations: 106.8 kB / 0.7341 GB, free: 2.379 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005026/0.7474, allocations: 445.7 kB / 0.7345 GB, free: 1.938 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.7475, allocations: 37.7 kB / 0.7345 GB, free: 1.895 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.7477, allocations: 259.8 kB / 0.7348 GB, free: 1.637 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.183e-05/0.7477, allocations: 74.98 kB / 0.7348 GB, free: 1.562 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.7478, allocations: 61.61 kB / 0.7349 GB, free: 1.496 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.748, allocations: 354.7 kB / 0.7352 GB, free: 1.141 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.7483, allocations: 108.8 kB / 0.7353 GB, free: 1.031 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.7486, allocations: 192.8 kB / 0.7355 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004543/0.7491, allocations: 253.8 kB / 0.7358 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.7491, allocations: 4 kB / 0.7358 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005943/0.7497, allocations: 355.4 kB / 0.7361 GB, free: 188 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.7497, allocations: 8 kB / 0.7361 GB, free: 180 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.7497, allocations: 0 / 0.7361 GB, free: 180 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.7497, allocations: 7.938 kB / 0.7361 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.75, allocations: 71.84 kB / 0.7362 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.75, allocations: 0 / 0.7362 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.7502, allocations: 59.66 kB / 0.7362 GB, free: 40 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.7503, allocations: 12 kB / 0.7363 GB, free: 28 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002525/0.7505, allocations: 196.1 kB / 0.7364 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002099/0.7507, allocations: 165.3 kB / 0.7366 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002966/0.751, allocations: 211.1 kB / 0.7368 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.7511, allocations: 0 / 0.7368 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0004188/0.7515, allocations: 301 kB / 0.7371 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.7515, allocations: 7.984 kB / 0.7371 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.7515, allocations: 4 kB / 0.7371 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-06/0.7515, allocations: 0 / 0.7371 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.7517, allocations: 59.92 kB / 0.7372 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.7517, allocations: 3.938 kB / 0.7372 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.7519, allocations: 35.73 kB / 0.7372 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.7519, allocations: 8 kB / 0.7372 GB, free: 15 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (limPI.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.7521, allocations: 208.3 kB / 0.7374 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.7521, allocations: 35.53 kB / 0.7374 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.313e-05/0.7522, allocations: 39.8 kB / 0.7375 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.7522, allocations: 7.938 kB / 0.7375 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.7522, allocations: 0 / 0.7375 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.7523, allocations: 0 / 0.7375 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.7536, allocations: 0.7518 MB / 0.7382 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.7536, allocations: 0 / 0.7382 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.7538, allocations: 39.97 kB / 0.7383 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.7538, allocations: 4 kB / 0.7383 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.7538, allocations: 8.094 kB / 0.7383 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.7539, allocations: 3.938 kB / 0.7383 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.7539, allocations: 0 / 0.7383 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006635/0.7545, allocations: 467.8 kB / 0.7387 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.843e-05/0.7546, allocations: 120.6 kB / 0.7388 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.7547, allocations: 8 kB / 0.7388 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.7549, allocations: 19.98 kB / 0.7389 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.7549, allocations: 15.86 kB / 0.7389 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.7549, allocations: 11.98 kB / 0.7389 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003818/0.7553, allocations: 311.1 kB / 0.7392 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7553, allocations: 0 / 0.7392 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004527/0.7558, allocations: 131.5 kB / 0.7393 GB, free: 12.73 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001803/0.756, allocations: 107.2 kB / 0.7394 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006674/0.7566, allocations: 370.6 kB / 0.7398 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.7567, allocations: 128 / 0.7398 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.7569, allocations: 103.8 kB / 0.7399 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006604/0.7575, allocations: 87.86 kB / 0.7399 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.7589, allocations: 0.8621 MB / 0.7408 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006007/0.7595, allocations: 0.8077 MB / 0.7416 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000156/0.7597, allocations: 47.25 kB / 0.7416 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.237e-05/0.7598, allocations: 31.44 kB / 0.7417 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.7598, allocations: 0 / 0.7417 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.008178/0.7679, allocations: 3.671 MB / 0.7452 GB, free: 6.625 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)