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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001436/0.001436, allocations: 106 kB / 16.27 MB, free: 6.414 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.001472/0.001472, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.356/1.356, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.516/2.516, allocations: 390.3 MB / 0.6653 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 68.73 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2581, allocations: 140.4 MB / 0.9503 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.006045/0.2642, allocations: 3.625 MB / 0.9538 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004231/0.2685, allocations: 2.121 MB / 0.9559 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.2697, allocations: 19.94 kB / 0.9559 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006805/0.2704, allocations: 174.1 kB / 0.9561 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007357/0.2712, allocations: 146.6 kB / 0.9562 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.2726, allocations: 0.4947 MB / 0.9567 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00163/0.2743, allocations: 1.256 MB / 0.9579 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009832/0.2752, allocations: 0.5954 MB / 0.9585 GB, free: 392 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005203/0.2758, allocations: 442.3 kB / 0.9589 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005174/0.2763, allocations: 485.4 kB / 0.9594 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.2765, allocations: 128 kB / 0.9595 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.2767, allocations: 144 kB / 0.9597 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.2769, allocations: 251.2 kB / 0.9599 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003871/0.2773, allocations: 0.505 MB / 0.9604 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.2785, allocations: 1.371 MB / 0.9617 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2785, allocations: 4 kB / 0.9617 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.542e-06/0.2785, allocations: 0 / 0.9617 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.2785, allocations: 0 / 0.9617 GB, free: 13.07 MB / 0.7481 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.002451/0.281, allocations: 1.373 MB / 0.9631 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.281, allocations: 8.031 kB / 0.9631 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/0.2812, allocations: 123.5 kB / 0.9632 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007464/0.282, allocations: 0.5986 MB / 0.9638 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.866e-05/0.2821, allocations: 66.38 kB / 0.9638 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.2822, allocations: 92.38 kB / 0.9639 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.2839, allocations: 0.8641 MB / 0.9648 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.284, allocations: 192 / 0.9648 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.766e-05/0.284, allocations: 47.92 kB / 0.9648 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.2841, allocations: 20 kB / 0.9648 GB, free: 9.762 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.2854, allocations: 0.6324 MB / 0.9655 GB, free: 9.125 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004648/0.29, allocations: 2.991 MB / 0.9684 GB, free: 6.031 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.2915, allocations: 0.679 MB / 0.969 GB, free: 5.344 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006374/0.2922, allocations: 382.6 kB / 0.9694 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.186e-05/0.2922, allocations: 9.656 kB / 0.9694 GB, free: 4.957 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007328/0.293, allocations: 351 kB / 0.9698 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=68): time 2.986e-06/0.293, allocations: 0 / 0.9698 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of matching and sorting (n=68): time 0.00189/0.2949, allocations: 0.8221 MB / 0.9706 GB, free: 3.773 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.295, allocations: 196.5 kB / 0.9707 GB, free: 3.539 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007733/0.2958, allocations: 0.6762 MB / 0.9714 GB, free: 2.855 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.798e-05/0.2958, allocations: 45.7 kB / 0.9715 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004847/0.2963, allocations: 431.8 kB / 0.9719 GB, free: 2.375 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.2965, allocations: 228.7 kB / 0.9721 GB, free: 2.148 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.2967, allocations: 150.5 kB / 0.9722 GB, free: 1.992 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.2969, allocations: 337.9 kB / 0.9725 GB, free: 1.656 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000647/0.2976, allocations: 292.7 kB / 0.9728 GB, free: 1.367 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000922/0.2985, allocations: 482.2 kB / 0.9733 GB, free: 0.8203 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.2997, allocations: 0.6731 MB / 0.9739 GB, free: 104 kB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.2997, allocations: 4 kB / 0.9739 GB, free: 100 kB / 0.7481 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001795/0.3015, allocations: 0.8804 MB / 0.9748 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.68e-05/0.3016, allocations: 38.08 kB / 0.9748 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.3016, allocations: 7.938 kB / 0.9749 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.3016, allocations: 8 kB / 0.9749 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006221/0.3023, allocations: 159.7 kB / 0.975 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.3023, allocations: 11.98 kB / 0.975 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006596/0.303, allocations: 139.1 kB / 0.9752 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-05/0.303, allocations: 35.98 kB / 0.9752 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006354/0.3037, allocations: 394 kB / 0.9756 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005514/0.3042, allocations: 418.2 kB / 0.976 GB, free: 13.94 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008899/0.3051, allocations: 0.5678 MB / 0.9765 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.361e-06/0.3051, allocations: 0 / 0.9765 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001287/0.3064, allocations: 0.7678 MB / 0.9773 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.3065, allocations: 37.69 kB / 0.9773 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3065, allocations: 7.938 kB / 0.9773 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.3065, allocations: 8 kB / 0.9773 GB, free: 12.49 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/0.307, allocations: 135.8 kB / 0.9774 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/0.307, allocations: 15.92 kB / 0.9775 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000566/0.3076, allocations: 119.3 kB / 0.9776 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/0.3076, allocations: 31.98 kB / 0.9776 GB, free: 12.19 MB / 0.7637 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.0002153/0.3079, allocations: 224.1 kB / 0.9778 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.665e-05/0.308, allocations: 78.97 kB / 0.9779 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/0.3093, allocations: 0.6593 MB / 0.9785 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.3093, allocations: 8 kB / 0.9785 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3093, allocations: 4 kB / 0.9786 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.3094, allocations: 3.984 kB / 0.9786 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002543/0.3119, allocations: 1.667 MB / 0.9802 GB, free: 9.449 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.3119, allocations: 7.938 kB / 0.9802 GB, free: 9.441 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005309/0.3125, allocations: 127.8 kB / 0.9803 GB, free: 9.316 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.3125, allocations: 4 kB / 0.9803 GB, free: 9.312 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/0.3125, allocations: 20.28 kB / 0.9803 GB, free: 9.293 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.3125, allocations: 11.98 kB / 0.9803 GB, free: 9.281 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3125, allocations: 4 kB / 0.9804 GB, free: 9.277 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.3144, allocations: 1.081 MB / 0.9814 GB, free: 8.156 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.3145, allocations: 172 kB / 0.9816 GB, free: 7.969 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.307e-05/0.3146, allocations: 20 kB / 0.9816 GB, free: 7.949 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/0.315, allocations: 43.95 kB / 0.9816 GB, free: 7.906 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.3151, allocations: 44.45 kB / 0.9817 GB, free: 7.863 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.3151, allocations: 27.92 kB / 0.9817 GB, free: 7.836 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005427/0.3157, allocations: 487 kB / 0.9822 GB, free: 7.367 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3157, allocations: 0 / 0.9822 GB, free: 7.367 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008782/0.3166, allocations: 326.7 kB / 0.9825 GB, free: 7.047 MB / 0.7637 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.000216/0.3168, allocations: 131.1 kB / 0.9826 GB, free: 6.91 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002393/0.3192, allocations: 1.174 MB / 0.9837 GB, free: 5.711 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3192, allocations: 0 / 0.9837 GB, free: 5.711 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005732/0.3198, allocations: 320.8 kB / 0.9841 GB, free: 5.395 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009513/0.3208, allocations: 187.2 kB / 0.9842 GB, free: 5.215 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.3234, allocations: 1.542 MB / 0.9857 GB, free: 3.613 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/0.324, allocations: 0.978 MB / 0.9867 GB, free: 2.605 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.3242, allocations: 71.42 kB / 0.9868 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of SimCode: time 3.21e-07/0.3242, allocations: 0 / 0.9868 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of Templates: time 0.01619/0.3404, allocations: 10.1 MB / 0.9966 GB, free: 8.473 MB / 0.7794 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