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.001191/0.001191, allocations: 87.84 kB / 15.06 MB, free: 1.082 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.001752/0.001752, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.569/1.569, allocations: 252 MB / 0.5102 GB, free: 4.793 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.0008528/0.000853, allocations: 16 kB / 0.6243 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6471/0.648, allocations: 106.3 MB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.003129/0.6512, allocations: 2.3 MB / 0.7304 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.6528, allocations: 0.8664 MB / 0.7312 GB, free: 8.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.6531, allocations: 15.94 kB / 0.7313 GB, free: 8.215 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.6533, allocations: 63.38 kB / 0.7313 GB, free: 8.152 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.6535, allocations: 39.66 kB / 0.7314 GB, free: 8.113 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.6538, allocations: 123.8 kB / 0.7315 GB, free: 7.992 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005369/0.6543, allocations: 457 kB / 0.7319 GB, free: 7.547 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.6547, allocations: 179.2 kB / 0.7321 GB, free: 7.363 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.6548, allocations: 111.3 kB / 0.7322 GB, free: 7.254 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.655, allocations: 139 kB / 0.7323 GB, free: 7.117 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.655, allocations: 12 kB / 0.7323 GB, free: 7.105 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.693e-05/0.6551, allocations: 12 kB / 0.7323 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.6551, allocations: 59.64 kB / 0.7324 GB, free: 7.035 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.6552, allocations: 89.45 kB / 0.7325 GB, free: 6.941 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005156/0.6557, allocations: 460.7 kB / 0.7329 GB, free: 6.492 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.6557, allocations: 4 kB / 0.7329 GB, free: 6.488 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6557, allocations: 0 / 0.7329 GB, free: 6.488 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.6557, allocations: 0 / 0.7329 GB, free: 6.488 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.001099/0.6568, allocations: 0.7248 MB / 0.7336 GB, free: 5.715 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.6569, allocations: 12.03 kB / 0.7336 GB, free: 5.703 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.636e-05/0.657, allocations: 51.34 kB / 0.7337 GB, free: 5.652 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.6575, allocations: 367.7 kB / 0.734 GB, free: 5.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.6575, allocations: 29 kB / 0.7341 GB, free: 5.223 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.48e-05/0.6576, allocations: 40 kB / 0.7341 GB, free: 5.184 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006834/0.6582, allocations: 422.4 kB / 0.7345 GB, free: 4.738 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.6583, allocations: 0 / 0.7345 GB, free: 4.738 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.6583, allocations: 19.94 kB / 0.7345 GB, free: 4.719 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.6583, allocations: 12 kB / 0.7345 GB, free: 4.707 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006456/0.659, allocations: 311.7 kB / 0.7348 GB, free: 4.406 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002118/0.6611, allocations: 1.703 MB / 0.7365 GB, free: 2.621 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006634/0.6618, allocations: 297.6 kB / 0.7368 GB, free: 2.324 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.6621, allocations: 136.7 kB / 0.7369 GB, free: 2.188 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.6621, allocations: 4 kB / 0.7369 GB, free: 2.184 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.6621, allocations: 30.56 kB / 0.737 GB, free: 2.145 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.763e-06/0.6621, allocations: 4 kB / 0.737 GB, free: 2.141 MB / 0.545 GB Notification: Performance of matching and sorting (n=20): time 0.0007984/0.6629, allocations: 324.2 kB / 0.7373 GB, free: 1.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/0.663, allocations: 106.8 kB / 0.7374 GB, free: 1.691 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005082/0.6635, allocations: 437.8 kB / 0.7378 GB, free: 1.258 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.6636, allocations: 29.7 kB / 0.7378 GB, free: 1.223 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.6638, allocations: 259.9 kB / 0.7381 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.783e-05/0.6639, allocations: 74.91 kB / 0.7381 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/0.6639, allocations: 7.938 kB / 0.7381 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.6641, allocations: 362.7 kB / 0.7385 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.6643, allocations: 108 kB / 0.7386 GB, free: 424 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.6646, allocations: 193.4 kB / 0.7388 GB, free: 196 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.6648, allocations: 123.1 kB / 0.7389 GB, free: 76 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6648, allocations: 3.938 kB / 0.7389 GB, free: 72 kB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006786/0.6655, allocations: 363.4 kB / 0.7392 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.162e-05/0.6656, allocations: 134.3 kB / 0.7394 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.6656, allocations: 4 kB / 0.7394 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.6656, allocations: 4 kB / 0.7394 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.6659, allocations: 67.91 kB / 0.7394 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.6659, allocations: 4 kB / 0.7394 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.6661, allocations: 67.45 kB / 0.7395 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.6662, allocations: 12 kB / 0.7395 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.601e-06/0.6662, allocations: 4 kB / 0.7395 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000395/0.6666, allocations: 235.8 kB / 0.7397 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.6666, allocations: 3.953 kB / 0.7398 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-06/0.6666, allocations: 4 kB / 0.7398 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.6668, allocations: 63.91 kB / 0.7398 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.646e-06/0.6668, allocations: 0 / 0.7398 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.667, allocations: 43.67 kB / 0.7399 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.667, allocations: 12.16 kB / 0.7399 GB, free: 15.04 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002829/0.6673, allocations: 237.1 kB / 0.7401 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.6674, allocations: 39.44 kB / 0.7401 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.931e-05/0.6675, allocations: 43.75 kB / 0.7402 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.6675, allocations: 11.92 kB / 0.7402 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.6675, allocations: 0 / 0.7402 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.6675, allocations: 3.938 kB / 0.7402 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.6686, allocations: 0.7564 MB / 0.7409 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.6686, allocations: 4.094 kB / 0.7409 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.6688, allocations: 47.91 kB / 0.741 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.6688, allocations: 4 kB / 0.741 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.6689, allocations: 4 kB / 0.741 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.6689, allocations: 11.92 kB / 0.741 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6689, allocations: 0 / 0.741 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006867/0.6696, allocations: 479.6 kB / 0.7415 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.546e-05/0.6697, allocations: 120.5 kB / 0.7416 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.6697, allocations: 15.98 kB / 0.7416 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.6699, allocations: 27.98 kB / 0.7416 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.6699, allocations: 11.98 kB / 0.7416 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.67, allocations: 4 kB / 0.7416 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003202/0.6703, allocations: 307.1 kB / 0.7419 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6703, allocations: 0 / 0.7419 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004791/0.6708, allocations: 127.5 kB / 0.742 GB, free: 12.7 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 (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.0001773/0.671, allocations: 111.2 kB / 0.7421 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008238/0.6718, allocations: 376.6 kB / 0.7425 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.6718, allocations: 0 / 0.7425 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.672, allocations: 103.8 kB / 0.7426 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006456/0.6726, allocations: 96.66 kB / 0.7427 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.674, allocations: 0.8354 MB / 0.7435 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.6744, allocations: 0.8116 MB / 0.7443 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001734/0.6746, allocations: 51.38 kB / 0.7444 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/0.6747, allocations: 31.44 kB / 0.7444 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.6747, allocations: 0 / 0.7444 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of Templates: time 0.008379/0.6831, allocations: 3.509 MB / 0.7478 GB, free: 6.758 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: