Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001827/0.001827, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002424/0.002424, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.582/1.582, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.778/2.778, allocations: 437 MB / 0.7101 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001976, allocations: 67.89 kB / 0.8688 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.721/0.723, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005304/0.7284, allocations: 3.606 MB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003731/0.7321, allocations: 2.07 MB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004313/0.7326, allocations: 23.94 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004584/0.733, allocations: 130.8 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003742/0.7335, allocations: 95.28 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.7346, allocations: 439.2 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001341/0.7359, allocations: 1.252 MB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000964/0.7369, allocations: 0.5954 MB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005715/0.7375, allocations: 446.2 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005153/0.738, allocations: 473.6 kB / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.7382, allocations: 139.9 kB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.7384, allocations: 140 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.7386, allocations: 259.1 kB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004815/0.7391, allocations: 0.5051 MB / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.7406, allocations: 1.376 MB / 1.028 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7406, allocations: 0 / 1.028 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7406, allocations: 0 / 1.028 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.7406, allocations: 0 / 1.028 GB, free: 7.156 MB / 0.7794 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.002609/0.7432, allocations: 1.364 MB / 1.029 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.7433, allocations: 16.02 kB / 1.029 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.7435, allocations: 115.5 kB / 1.03 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008835/0.7444, allocations: 0.5908 MB / 1.03 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.379e-05/0.7445, allocations: 78.38 kB / 1.03 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.7447, allocations: 92.36 kB / 1.03 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.7463, allocations: 0.864 MB / 1.031 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.7463, allocations: 8.125 kB / 1.031 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.103e-05/0.7464, allocations: 39.94 kB / 1.031 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.7464, allocations: 20 kB / 1.031 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.7478, allocations: 0.6363 MB / 1.032 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00479/0.7526, allocations: 2.992 MB / 1.035 GB, free: 124 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.7542, allocations: 0.6889 MB / 1.035 GB, free: 15.43 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000727/0.755, allocations: 378.6 kB / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.792e-05/0.755, allocations: 9.656 kB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008375/0.7559, allocations: 351 kB / 1.036 GB, free: 14.69 MB / 0.795 GB Notification: Performance of pre-optimization done (n=68): time 3.146e-06/0.7559, allocations: 0 / 1.036 GB, free: 14.69 MB / 0.795 GB Notification: Performance of matching and sorting (n=68): time 0.001935/0.7578, allocations: 0.8338 MB / 1.037 GB, free: 13.85 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/0.758, allocations: 188.5 kB / 1.037 GB, free: 13.62 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009706/0.759, allocations: 0.6802 MB / 1.038 GB, free: 12.93 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.869e-05/0.7591, allocations: 37.7 kB / 1.038 GB, free: 12.89 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/0.7595, allocations: 431.8 kB / 1.038 GB, free: 12.46 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/0.7597, allocations: 236.6 kB / 1.038 GB, free: 12.22 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/0.76, allocations: 142.6 kB / 1.039 GB, free: 12.07 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.7602, allocations: 341.9 kB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000717/0.7609, allocations: 300.7 kB / 1.039 GB, free: 11.44 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008818/0.7618, allocations: 488 kB / 1.04 GB, free: 10.89 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.7632, allocations: 0.6731 MB / 1.04 GB, free: 10.17 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.7632, allocations: 0 / 1.04 GB, free: 10.17 MB / 0.795 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001927/0.7651, allocations: 0.8765 MB / 1.041 GB, free: 9.277 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.467e-05/0.7652, allocations: 37.69 kB / 1.041 GB, free: 9.234 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.7652, allocations: 4 kB / 1.041 GB, free: 9.23 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.7652, allocations: 4.375 kB / 1.041 GB, free: 9.227 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006709/0.7659, allocations: 167.8 kB / 1.041 GB, free: 9.062 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.7659, allocations: 7.938 kB / 1.041 GB, free: 9.055 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007027/0.7667, allocations: 139.1 kB / 1.041 GB, free: 8.918 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-05/0.7667, allocations: 32 kB / 1.042 GB, free: 8.887 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007474/0.7675, allocations: 398 kB / 1.042 GB, free: 8.496 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006469/0.7682, allocations: 418.2 kB / 1.042 GB, free: 8.02 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009464/0.7691, allocations: 0.5678 MB / 1.043 GB, free: 7.41 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/0.7691, allocations: 0 / 1.043 GB, free: 7.41 MB / 0.795 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001422/0.7705, allocations: 0.7594 MB / 1.044 GB, free: 6.637 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.226e-05/0.7706, allocations: 42.06 kB / 1.044 GB, free: 6.59 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.7706, allocations: 8 kB / 1.044 GB, free: 6.582 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.7707, allocations: 4.188 kB / 1.044 GB, free: 6.578 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000532/0.7712, allocations: 135.8 kB / 1.044 GB, free: 6.445 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.7712, allocations: 15.86 kB / 1.044 GB, free: 6.43 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005996/0.7718, allocations: 111.4 kB / 1.044 GB, free: 6.32 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/0.7719, allocations: 28 kB / 1.044 GB, free: 6.293 MB / 0.795 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.0002925/0.7722, allocations: 236 kB / 1.044 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.7723, allocations: 82.97 kB / 1.044 GB, free: 5.973 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.7737, allocations: 0.6554 MB / 1.045 GB, free: 5.309 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/0.7738, allocations: 4 kB / 1.045 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.7738, allocations: 0 / 1.045 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.7738, allocations: 11.97 kB / 1.045 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002846/0.7766, allocations: 1.667 MB / 1.047 GB, free: 3.539 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.7767, allocations: 3.938 kB / 1.047 GB, free: 3.535 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005748/0.7772, allocations: 135.8 kB / 1.047 GB, free: 3.402 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.7773, allocations: 7.938 kB / 1.047 GB, free: 3.395 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.7773, allocations: 16 kB / 1.047 GB, free: 3.379 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/0.7773, allocations: 8 kB / 1.047 GB, free: 3.371 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.7773, allocations: 4.281 kB / 1.047 GB, free: 3.367 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.7794, allocations: 1.089 MB / 1.048 GB, free: 2.234 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.7796, allocations: 168 kB / 1.048 GB, free: 2.051 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.661e-05/0.7797, allocations: 15.98 kB / 1.048 GB, free: 2.035 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003825/0.7801, allocations: 51.95 kB / 1.048 GB, free: 1.984 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-05/0.7802, allocations: 44.45 kB / 1.048 GB, free: 1.941 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.246e-05/0.7802, allocations: 23.98 kB / 1.048 GB, free: 1.918 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006234/0.7809, allocations: 479 kB / 1.048 GB, free: 1.457 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7809, allocations: 0 / 1.048 GB, free: 1.457 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000946/0.7818, allocations: 326.6 kB / 1.049 GB, free: 1.137 MB / 0.795 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.0002719/0.7821, allocations: 131.7 kB / 1.049 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00252/0.7846, allocations: 1.182 MB / 1.05 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.7847, allocations: 0 / 1.05 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006165/0.7853, allocations: 304.3 kB / 1.05 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.7863, allocations: 188.9 kB / 1.051 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/0.7891, allocations: 1.849 MB / 1.052 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006591/0.7898, allocations: 0.9743 MB / 1.053 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004148/0.7902, allocations: 109.9 kB / 1.053 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.7904, allocations: 63.42 kB / 1.053 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of SimCode: time 4.81e-07/0.7904, allocations: 0 / 1.053 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of Templates: time 0.01942/0.8098, allocations: 9.635 MB / 1.063 GB, free: 2.691 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches