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.LimPID.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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001394/0.001394, allocations: 168.7 kB / 15.95 MB, free: 204 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.88/1.88, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.623/1.623, allocations: 252 MB / 0.5102 GB, free: 4.797 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.0005703/0.0005704, allocations: 20 kB / 0.6243 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6375/0.6381, allocations: 106.3 MB / 0.7282 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.005534/0.6437, allocations: 4.635 MB / 0.7327 GB, free: 6.719 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003646/0.6474, allocations: 1.717 MB / 0.7344 GB, free: 4.992 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009051/0.6483, allocations: 31.88 kB / 0.7344 GB, free: 4.961 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000565/0.6489, allocations: 186.2 kB / 0.7346 GB, free: 4.777 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000526/0.6494, allocations: 134.2 kB / 0.7347 GB, free: 4.648 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009137/0.6503, allocations: 339.4 kB / 0.735 GB, free: 4.316 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001465/0.6518, allocations: 1.315 MB / 0.7363 GB, free: 3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008597/0.6527, allocations: 0.4902 MB / 0.7368 GB, free: 2.492 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000448/0.6531, allocations: 325.9 kB / 0.7371 GB, free: 2.172 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004708/0.6536, allocations: 409.3 kB / 0.7375 GB, free: 1.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.189e-05/0.6537, allocations: 36 kB / 0.7375 GB, free: 1.734 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.528e-05/0.6538, allocations: 36 kB / 0.7376 GB, free: 1.699 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.654, allocations: 171 kB / 0.7377 GB, free: 1.531 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.6541, allocations: 213 kB / 0.7379 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.6552, allocations: 1.287 MB / 0.7392 GB, free: 28 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.6552, allocations: 0 / 0.7392 GB, free: 28 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6552, allocations: 0 / 0.7392 GB, free: 28 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.902e-05/0.6553, allocations: 4 kB / 0.7392 GB, free: 24 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.002813/0.6581, allocations: 1.533 MB / 0.7407 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.6581, allocations: 8.031 kB / 0.7407 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/0.6584, allocations: 154.1 kB / 0.7408 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.6596, allocations: 0.7385 MB / 0.7416 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.04e-05/0.6597, allocations: 82.08 kB / 0.7416 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.6599, allocations: 107.9 kB / 0.7417 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.6619, allocations: 1.11 MB / 0.7428 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.6619, allocations: 7.938 kB / 0.7428 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.226e-05/0.662, allocations: 44 kB / 0.7429 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.662, allocations: 28 kB / 0.7429 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/0.6639, allocations: 0.8822 MB / 0.7438 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006575/0.6705, allocations: 4.148 MB / 0.7478 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002355/0.6729, allocations: 1.073 MB / 0.7489 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.674, allocations: 499.6 kB / 0.7493 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.577e-05/0.6741, allocations: 12.98 kB / 0.7493 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.6751, allocations: 457 kB / 0.7498 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 4.258e-06/0.6753, allocations: 4 kB / 0.7498 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84): time 0.003642/0.679, allocations: 1.147 MB / 0.7509 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002562/0.6793, allocations: 218.6 kB / 0.7511 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.6811, allocations: 0.8781 MB / 0.752 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.6812, allocations: 45.7 kB / 0.752 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005498/0.6817, allocations: 0.5431 MB / 0.7525 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003416/0.6821, allocations: 291.7 kB / 0.7528 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.6821, allocations: 20 kB / 0.7528 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.6823, allocations: 334 kB / 0.7532 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007291/0.683, allocations: 353.8 kB / 0.7535 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008913/0.6839, allocations: 0.5281 MB / 0.754 GB, free: 332 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.685, allocations: 382.9 kB / 0.7544 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.685, allocations: 0 / 0.7544 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002138/0.6871, allocations: 0.996 MB / 0.7553 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001652/0.6873, allocations: 153.8 kB / 0.7555 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.6874, allocations: 8 kB / 0.7555 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.6874, allocations: 11.89 kB / 0.7555 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007706/0.6882, allocations: 211.8 kB / 0.7557 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.6882, allocations: 15.94 kB / 0.7557 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006752/0.6889, allocations: 171 kB / 0.7559 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.823e-05/0.6889, allocations: 27.98 kB / 0.7559 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.689, allocations: 4 kB / 0.7559 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001302/0.6903, allocations: 0.691 MB / 0.7566 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.6903, allocations: 4 kB / 0.7566 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.6903, allocations: 4 kB / 0.7566 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.6909, allocations: 171.8 kB / 0.7568 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.6909, allocations: 4.25 kB / 0.7568 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/0.6915, allocations: 131.1 kB / 0.7569 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.6915, allocations: 24 kB / 0.7569 GB, free: 13.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.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 (109): * Single equations (assignments): 109 * 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.000664/0.6922, allocations: 348.8 kB / 0.7573 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.6923, allocations: 106.6 kB / 0.7574 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.6926, allocations: 123.2 kB / 0.7575 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.6926, allocations: 8 kB / 0.7575 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/0.6927, allocations: 0 / 0.7575 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/0.6927, allocations: 7.984 kB / 0.7575 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.6939, allocations: 0.9714 MB / 0.7584 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.694, allocations: 0 / 0.7584 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007203/0.6947, allocations: 183.8 kB / 0.7586 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.6947, allocations: 4 kB / 0.7586 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.507e-05/0.6947, allocations: 19.98 kB / 0.7586 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.6948, allocations: 4 kB / 0.7586 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6948, allocations: 0 / 0.7586 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.6974, allocations: 1.319 MB / 0.7599 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.6976, allocations: 199.5 kB / 0.7601 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.476e-05/0.6977, allocations: 16 kB / 0.7601 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006027/0.6983, allocations: 79.94 kB / 0.7602 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/0.6985, allocations: 52.92 kB / 0.7603 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.3e-05/0.6985, allocations: 23.98 kB / 0.7603 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008568/0.6994, allocations: 0.5995 MB / 0.7609 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6994, allocations: 4 kB / 0.7609 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009822/0.7004, allocations: 378.4 kB / 0.7612 GB, free: 8.781 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002531/0.7006, allocations: 123.1 kB / 0.7614 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002267/0.7029, allocations: 1.206 MB / 0.7625 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.7029, allocations: 4.125 kB / 0.7625 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008891/0.7038, allocations: 421.5 kB / 0.7629 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.7051, allocations: 253.5 kB / 0.7632 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/0.7087, allocations: 2.266 MB / 0.7654 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008401/0.7096, allocations: 1.081 MB / 0.7664 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005788/0.7102, allocations: 132 kB / 0.7666 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.7104, allocations: 83.41 kB / 0.7667 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of SimCode: time 1.262e-06/0.7104, allocations: 0 / 0.7667 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of Templates: time 0.02027/0.7307, allocations: 10.22 MB / 0.7766 GB, free: 9.059 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1) Environment - environmentSimulation: