Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001663/0.001663, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.719/2.719, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.52 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3298, allocations: 157.4 MB / 1.052 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005031/0.3349, allocations: 3.6 MB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003585/0.3385, allocations: 2.096 MB / 1.058 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005378/0.339, allocations: 23.94 kB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004324/0.3395, allocations: 130.8 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.3399, allocations: 95.28 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.3409, allocations: 446.5 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0009542/0.3419, allocations: 1.143 MB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008115/0.3427, allocations: 0.5759 MB / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003664/0.3431, allocations: 366.2 kB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000413/0.3435, allocations: 433.5 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.3436, allocations: 64 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.3438, allocations: 79.91 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.344, allocations: 191.2 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003437/0.3443, allocations: 445.2 kB / 1.062 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.3453, allocations: 1.312 MB / 1.063 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.3454, allocations: 3.984 kB / 1.063 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3454, allocations: 0 / 1.063 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.3454, allocations: 0 / 1.063 GB, free: 13.84 MB / 0.8262 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.002466/0.3479, allocations: 1.371 MB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.3479, allocations: 8.031 kB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.3481, allocations: 123.5 kB / 1.064 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008855/0.349, allocations: 0.5908 MB / 1.065 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.771e-05/0.3491, allocations: 70.38 kB / 1.065 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.3492, allocations: 96.28 kB / 1.065 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.3507, allocations: 0.8602 MB / 1.066 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.3508, allocations: 4.125 kB / 1.066 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.037e-05/0.3509, allocations: 47.91 kB / 1.066 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.3509, allocations: 20 kB / 1.066 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.3522, allocations: 0.6324 MB / 1.067 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004621/0.3568, allocations: 2.995 MB / 1.069 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.3583, allocations: 0.676 MB / 1.07 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00064/0.3589, allocations: 374.6 kB / 1.07 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.097e-05/0.359, allocations: 16.94 kB / 1.071 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007637/0.3597, allocations: 343 kB / 1.071 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=68): time 2.926e-06/0.3597, allocations: 0 / 1.071 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=68): time 0.00176/0.3615, allocations: 0.8337 MB / 1.072 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.3616, allocations: 196.4 kB / 1.072 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008862/0.3625, allocations: 0.6801 MB / 1.072 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.852e-05/0.3626, allocations: 41.7 kB / 1.073 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/0.363, allocations: 427.9 kB / 1.073 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.3631, allocations: 228.6 kB / 1.073 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/0.3634, allocations: 154.5 kB / 1.073 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3635, allocations: 337.9 kB / 1.074 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006898/0.3642, allocations: 300.6 kB / 1.074 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007684/0.365, allocations: 482.2 kB / 1.074 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.3662, allocations: 0.6693 MB / 1.075 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.3662, allocations: 3.938 kB / 1.075 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001769/0.368, allocations: 0.8806 MB / 1.076 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.898e-05/0.3681, allocations: 37.7 kB / 1.076 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.3681, allocations: 4 kB / 1.076 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.3681, allocations: 4 kB / 1.076 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006702/0.3688, allocations: 163.9 kB / 1.076 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.3688, allocations: 11.92 kB / 1.076 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006826/0.3695, allocations: 139 kB / 1.076 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.22e-05/0.3696, allocations: 35.98 kB / 1.076 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007284/0.3703, allocations: 395.5 kB / 1.077 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005786/0.3709, allocations: 426.2 kB / 1.077 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008157/0.3717, allocations: 0.56 MB / 1.078 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.965e-06/0.3717, allocations: 0 / 1.078 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001301/0.3731, allocations: 0.7634 MB / 1.078 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.3731, allocations: 37.7 kB / 1.078 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3731, allocations: 0 / 1.078 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.3731, allocations: 8 kB / 1.078 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.3736, allocations: 140.2 kB / 1.079 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3737, allocations: 7.938 kB / 1.079 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005544/0.3742, allocations: 111.4 kB / 1.079 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.753e-05/0.3743, allocations: 31.98 kB / 1.079 GB, free: 12.99 MB / 0.8419 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.0002143/0.3745, allocations: 234.8 kB / 1.079 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.964e-05/0.3746, allocations: 82.97 kB / 1.079 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.3759, allocations: 0.6554 MB / 1.08 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.3759, allocations: 4 kB / 1.08 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3759, allocations: 0 / 1.08 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.376, allocations: 11.92 kB / 1.08 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.3784, allocations: 1.671 MB / 1.081 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.3784, allocations: 3.938 kB / 1.081 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005348/0.3789, allocations: 131.8 kB / 1.081 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.3789, allocations: 4 kB / 1.081 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.139e-05/0.379, allocations: 20 kB / 1.081 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.379, allocations: 7.984 kB / 1.081 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.379, allocations: 4.172 kB / 1.081 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.3808, allocations: 1.089 MB / 1.082 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.381, allocations: 183.8 kB / 1.083 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.568e-05/0.3811, allocations: 16 kB / 1.083 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.3814, allocations: 47.95 kB / 1.083 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.414e-05/0.3815, allocations: 44.44 kB / 1.083 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.3816, allocations: 24 kB / 1.083 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005982/0.3822, allocations: 487 kB / 1.083 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3822, allocations: 0 / 1.083 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000901/0.3831, allocations: 318.8 kB / 1.084 GB, free: 7.812 MB / 0.8419 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.0002655/0.3834, allocations: 129.6 kB / 1.084 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002129/0.3855, allocations: 1.144 MB / 1.085 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3855, allocations: 4.188 kB / 1.085 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005436/0.3861, allocations: 302.9 kB / 1.085 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009524/0.387, allocations: 184.5 kB / 1.085 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002653/0.3897, allocations: 1.851 MB / 1.087 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005974/0.3903, allocations: 0.9785 MB / 1.088 GB, free: 3.125 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004342/0.3907, allocations: 97.91 kB / 1.088 GB, free: 3.027 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.3909, allocations: 67.42 kB / 1.088 GB, free: 2.961 MB / 0.8419 GB Notification: Performance of SimCode: time 8.82e-07/0.3909, allocations: 0 / 1.088 GB, free: 2.961 MB / 0.8419 GB Notification: Performance of Templates: time 0.0177/0.4086, allocations: 9.224 MB / 1.097 GB, free: 9.824 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches