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.001132/0.001132, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009575/0.009575, allocations: 168.9 kB / 16.26 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.754/1.754, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.675/1.675, allocations: 252 MB / 0.5105 GB, free: 4.625 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.0006306/0.0006308, allocations: 19.98 kB / 0.6249 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.559/0.5596, allocations: 106.3 MB / 0.7287 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.003212/0.5629, allocations: 2.435 MB / 0.7311 GB, free: 9.016 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.5646, allocations: 0.8894 MB / 0.732 GB, free: 8.113 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003642/0.565, allocations: 11.94 kB / 0.732 GB, free: 8.102 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.5654, allocations: 71.38 kB / 0.7321 GB, free: 8.031 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.5657, allocations: 35.67 kB / 0.7321 GB, free: 7.996 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.5661, allocations: 163.8 kB / 0.7323 GB, free: 7.836 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005708/0.5667, allocations: 488.8 kB / 0.7327 GB, free: 7.359 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004527/0.5671, allocations: 255.3 kB / 0.733 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.5673, allocations: 123.1 kB / 0.7331 GB, free: 6.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.5675, allocations: 142.9 kB / 0.7332 GB, free: 6.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.076e-05/0.5676, allocations: 12 kB / 0.7332 GB, free: 6.828 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.268e-05/0.5676, allocations: 12 kB / 0.7332 GB, free: 6.816 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.151e-05/0.5677, allocations: 59.64 kB / 0.7333 GB, free: 6.758 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.5679, allocations: 200.3 kB / 0.7335 GB, free: 6.555 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004847/0.5684, allocations: 0.5273 MB / 0.734 GB, free: 6.027 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5684, allocations: 0 / 0.734 GB, free: 6.027 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.176e-06/0.5684, allocations: 0 / 0.734 GB, free: 6.027 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.792e-05/0.5684, allocations: 4 kB / 0.734 GB, free: 6.023 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.001214/0.5697, allocations: 0.7171 MB / 0.7347 GB, free: 5.258 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.5697, allocations: 8.031 kB / 0.7347 GB, free: 5.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.5698, allocations: 52.28 kB / 0.7348 GB, free: 5.199 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005541/0.5704, allocations: 388.7 kB / 0.7351 GB, free: 4.781 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.5704, allocations: 33.38 kB / 0.7352 GB, free: 4.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-05/0.5705, allocations: 40.38 kB / 0.7352 GB, free: 4.711 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007375/0.5712, allocations: 430.8 kB / 0.7356 GB, free: 4.258 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.5713, allocations: 3.938 kB / 0.7356 GB, free: 4.254 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.5713, allocations: 19.98 kB / 0.7356 GB, free: 4.234 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.5713, allocations: 12 kB / 0.7357 GB, free: 4.223 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006188/0.572, allocations: 303.8 kB / 0.7359 GB, free: 3.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.5742, allocations: 1.707 MB / 0.7376 GB, free: 2.141 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007293/0.5749, allocations: 286.9 kB / 0.7379 GB, free: 1.852 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.5752, allocations: 140.4 kB / 0.738 GB, free: 1.715 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.5752, allocations: 4 kB / 0.738 GB, free: 1.711 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.5753, allocations: 34.55 kB / 0.7381 GB, free: 1.668 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.984e-06/0.5753, allocations: 0 / 0.7381 GB, free: 1.668 MB / 0.545 GB Notification: Performance of matching and sorting (n=20): time 0.0007983/0.5761, allocations: 325 kB / 0.7384 GB, free: 1.344 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.716e-05/0.5762, allocations: 114.7 kB / 0.7385 GB, free: 1.207 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006129/0.5768, allocations: 445.8 kB / 0.7389 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.5768, allocations: 25.7 kB / 0.7389 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.5771, allocations: 263.8 kB / 0.7392 GB, free: 484 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.199e-05/0.5772, allocations: 71 kB / 0.7392 GB, free: 412 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.741e-05/0.5772, allocations: 33.7 kB / 0.7393 GB, free: 372 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.5775, allocations: 350.8 kB / 0.7396 GB, free: 12 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.5777, allocations: 115.9 kB / 0.7397 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.5781, allocations: 193.1 kB / 0.7399 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005186/0.5786, allocations: 273.8 kB / 0.7402 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5786, allocations: 0 / 0.7402 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007627/0.5794, allocations: 367.4 kB / 0.7405 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.5796, allocations: 145.7 kB / 0.7407 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.5796, allocations: 3.938 kB / 0.7407 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.5796, allocations: 4 kB / 0.7407 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.5799, allocations: 71.91 kB / 0.7407 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.5799, allocations: 11.92 kB / 0.7407 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.5802, allocations: 59.52 kB / 0.7408 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.5802, allocations: 12 kB / 0.7408 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.5802, allocations: 0 / 0.7408 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003888/0.5806, allocations: 239.8 kB / 0.741 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5806, allocations: 4 kB / 0.741 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.238e-06/0.5806, allocations: 0 / 0.741 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.5809, allocations: 55.92 kB / 0.7411 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.5809, allocations: 4.141 kB / 0.7411 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.5811, allocations: 59.55 kB / 0.7412 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.5811, allocations: 8 kB / 0.7412 GB, free: 14.34 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.0002188/0.5813, allocations: 233.1 kB / 0.7414 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-05/0.5814, allocations: 39.44 kB / 0.7414 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.71e-05/0.5815, allocations: 43.78 kB / 0.7415 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.5815, allocations: 8.031 kB / 0.7415 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.5815, allocations: 7.938 kB / 0.7415 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.5815, allocations: 0 / 0.7415 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.5828, allocations: 0.7583 MB / 0.7422 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5828, allocations: 4 kB / 0.7422 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.583, allocations: 51.84 kB / 0.7423 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.583, allocations: 4 kB / 0.7423 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.583, allocations: 8 kB / 0.7423 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.583, allocations: 96 / 0.7423 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5831, allocations: 4 kB / 0.7423 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008179/0.5839, allocations: 475.7 kB / 0.7427 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.584, allocations: 128.5 kB / 0.7429 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/0.5841, allocations: 12 kB / 0.7429 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.5843, allocations: 19.98 kB / 0.7429 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.5843, allocations: 11.98 kB / 0.7429 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.5844, allocations: 8 kB / 0.7429 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004327/0.5848, allocations: 307.1 kB / 0.7432 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5848, allocations: 0 / 0.7432 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005306/0.5853, allocations: 135.5 kB / 0.7433 GB, free: 11.99 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.0002146/0.5856, allocations: 111.1 kB / 0.7434 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007919/0.5864, allocations: 384.2 kB / 0.7438 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5864, allocations: 0 / 0.7438 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.5866, allocations: 104.6 kB / 0.7439 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/0.5873, allocations: 100.3 kB / 0.744 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.5888, allocations: 0.8823 MB / 0.7449 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.5893, allocations: 0.8077 MB / 0.7457 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001671/0.5894, allocations: 47.25 kB / 0.7457 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.855e-05/0.5895, allocations: 31.44 kB / 0.7457 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.5895, allocations: 0 / 0.7457 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of Templates: time 0.009133/0.5987, allocations: 3.633 MB / 0.7493 GB, free: 5.875 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: