Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 196 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.42/2.42, allocations: 390.2 MB / 0.6649 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6387/0.6401, allocations: 140.4 MB / 0.9496 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.003918/0.6441, allocations: 3.6 MB / 0.9531 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003054/0.6472, allocations: 2.08 MB / 0.9552 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006319/0.6478, allocations: 25.38 kB / 0.9552 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003919/0.6482, allocations: 130 kB / 0.9553 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000372/0.6487, allocations: 101.9 kB / 0.9554 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009671/0.6496, allocations: 438.6 kB / 0.9558 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009548/0.6506, allocations: 1.14 MB / 0.9569 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007173/0.6513, allocations: 0.5844 MB / 0.9575 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003618/0.6517, allocations: 372 kB / 0.9579 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.652, allocations: 434.6 kB / 0.9583 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.6522, allocations: 60.16 kB / 0.9583 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.6523, allocations: 79.64 kB / 0.9584 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.6525, allocations: 185.8 kB / 0.9586 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002896/0.6528, allocations: 445.7 kB / 0.959 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000721/0.6535, allocations: 1.093 MB / 0.9601 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6535, allocations: 0 / 0.9601 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6535, allocations: 0 / 0.9601 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.014e-05/0.6535, allocations: 5.312 kB / 0.9601 GB, free: 0.9219 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002368/0.6559, allocations: 1.363 MB / 0.9614 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.656, allocations: 13.52 kB / 0.9614 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002319/0.6562, allocations: 118 kB / 0.9615 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008412/0.6571, allocations: 0.5945 MB / 0.9621 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.959e-05/0.6571, allocations: 72.56 kB / 0.9622 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.6573, allocations: 94.94 kB / 0.9623 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.6588, allocations: 0.8587 MB / 0.9631 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.6589, allocations: 4.125 kB / 0.9631 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.17e-05/0.6589, allocations: 40.84 kB / 0.9632 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.659, allocations: 21.12 kB / 0.9632 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.6603, allocations: 0.6425 MB / 0.9638 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004799/0.6651, allocations: 2.986 MB / 0.9667 GB, free: 12 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.6667, allocations: 0.6798 MB / 0.9674 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000685/0.6674, allocations: 378.9 kB / 0.9677 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.758e-05/0.6674, allocations: 12.88 kB / 0.9678 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007257/0.6682, allocations: 352.9 kB / 0.9681 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=68): time 3.106e-06/0.6682, allocations: 0 / 0.9681 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=68): time 0.001889/0.6701, allocations: 0.8251 MB / 0.9689 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.6702, allocations: 192 kB / 0.9691 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009301/0.6711, allocations: 0.6815 MB / 0.9698 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.577e-05/0.6712, allocations: 43.3 kB / 0.9698 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/0.6716, allocations: 428.7 kB / 0.9702 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.6718, allocations: 232.1 kB / 0.9704 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.6721, allocations: 144.5 kB / 0.9706 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.6722, allocations: 340.7 kB / 0.9709 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006898/0.6729, allocations: 300 kB / 0.9712 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008249/0.6737, allocations: 478.8 kB / 0.9716 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.675, allocations: 0.6695 MB / 0.9723 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/0.6751, allocations: 4.938 kB / 0.9723 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001947/0.677, allocations: 0.8806 MB / 0.9731 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.05e-05/0.6771, allocations: 37.19 kB / 0.9732 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.6771, allocations: 3.625 kB / 0.9732 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.6771, allocations: 6.531 kB / 0.9732 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/0.6778, allocations: 160.9 kB / 0.9733 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/0.6778, allocations: 15.03 kB / 0.9734 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007383/0.6786, allocations: 139.3 kB / 0.9735 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.054e-05/0.6787, allocations: 26.47 kB / 0.9735 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000751/0.6794, allocations: 398.6 kB / 0.9739 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005896/0.68, allocations: 419.5 kB / 0.9743 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008591/0.6809, allocations: 0.5726 MB / 0.9749 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.417e-06/0.6809, allocations: 1.094 kB / 0.9749 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001431/0.6823, allocations: 0.7607 MB / 0.9756 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.022e-05/0.6824, allocations: 42.28 kB / 0.9756 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.6824, allocations: 4.219 kB / 0.9756 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.6824, allocations: 5.438 kB / 0.9757 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000519/0.6829, allocations: 138.5 kB / 0.9758 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.683, allocations: 19.2 kB / 0.9758 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000655/0.6836, allocations: 113.5 kB / 0.9759 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.379e-05/0.6837, allocations: 26.34 kB / 0.9759 GB, free: 6.133 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * 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.0002762/0.684, allocations: 235.1 kB / 0.9762 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.6841, allocations: 83.52 kB / 0.9762 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.6855, allocations: 0.6555 MB / 0.9769 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.6855, allocations: 10.84 kB / 0.9769 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.6855, allocations: 0 / 0.9769 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.6855, allocations: 5.297 kB / 0.9769 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.6881, allocations: 1.661 MB / 0.9785 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.6882, allocations: 8.219 kB / 0.9785 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005534/0.6887, allocations: 135.8 kB / 0.9787 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.6887, allocations: 4 kB / 0.9787 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/0.6888, allocations: 20 kB / 0.9787 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.6888, allocations: 4 kB / 0.9787 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.6888, allocations: 4 kB / 0.9787 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.6907, allocations: 1.089 MB / 0.9797 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.6909, allocations: 168 kB / 0.9799 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.208e-05/0.691, allocations: 23.98 kB / 0.9799 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.6914, allocations: 43.95 kB / 0.98 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.895e-05/0.6915, allocations: 44.45 kB / 0.98 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/0.6916, allocations: 23.98 kB / 0.98 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005977/0.6922, allocations: 483 kB / 0.9805 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6922, allocations: 4 kB / 0.9805 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001013/0.6932, allocations: 326.6 kB / 0.9808 GB, free: 1.352 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002455/0.6935, allocations: 127.1 kB / 0.9809 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002205/0.6957, allocations: 1.14 MB / 0.982 GB, free: 60 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.6957, allocations: 4.438 kB / 0.9821 GB, free: 56 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006144/0.6963, allocations: 319 kB / 0.9824 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.6974, allocations: 185.1 kB / 0.9825 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.7001, allocations: 1.884 MB / 0.9844 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005237/0.7006, allocations: 0.9745 MB / 0.9853 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.7009, allocations: 67.42 kB / 0.9854 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of SimCode: time 1.032e-06/0.7009, allocations: 0 / 0.9854 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of Templates: time 0.01484/0.7157, allocations: 10.09 MB / 0.9952 GB, free: 2.492 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches