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.001022/0.001022, allocations: 99.03 kB / 16.02 MB, free: 76 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.001063/0.001063, allocations: 182.8 kB / 16.92 MB, free: 6.918 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.402/1.402, allocations: 223.3 MB / 241 MB, free: 5.273 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.404/2.404, allocations: 390.9 MB / 0.667 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004042, allocations: 12 kB / 0.8167 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7473/0.7477, allocations: 142.4 MB / 0.9557 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.003283/0.7511, allocations: 3.138 MB / 0.9588 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003195/0.7543, allocations: 2.069 MB / 0.9608 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006076/0.7549, allocations: 21.09 kB / 0.9608 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.7553, allocations: 129.1 kB / 0.961 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003261/0.7556, allocations: 98.12 kB / 0.961 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009532/0.7566, allocations: 438.2 kB / 0.9615 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009026/0.7575, allocations: 1.135 MB / 0.9626 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007734/0.7583, allocations: 0.5645 MB / 0.9631 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003444/0.7586, allocations: 296.8 kB / 0.9634 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.7589, allocations: 346.9 kB / 0.9637 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.033e-05/0.759, allocations: 29.72 kB / 0.9638 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.7592, allocations: 49.58 kB / 0.9638 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.7593, allocations: 145.2 kB / 0.964 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.7596, allocations: 403.8 kB / 0.9643 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007338/0.7603, allocations: 1.053 MB / 0.9654 GB, free: 120 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.7603, allocations: 1.156 kB / 0.9654 GB, free: 120 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.595e-06/0.7603, allocations: 0 / 0.9654 GB, free: 120 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.7604, allocations: 0 / 0.9654 GB, free: 120 kB / 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.7627, allocations: 1.23 MB / 0.9666 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.7628, allocations: 11.44 kB / 0.9666 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.763, allocations: 116.7 kB / 0.9667 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008194/0.7638, allocations: 0.5947 MB / 0.9673 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.093e-05/0.7639, allocations: 67.88 kB / 0.9673 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.7641, allocations: 98.92 kB / 0.9674 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.766, allocations: 0.8802 MB / 0.9683 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.766, allocations: 192 / 0.9683 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.613e-05/0.7661, allocations: 45.48 kB / 0.9683 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/0.7661, allocations: 20.22 kB / 0.9684 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/0.7677, allocations: 0.6722 MB / 0.969 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005023/0.7727, allocations: 3.029 MB / 0.972 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.7745, allocations: 0.7475 MB / 0.9727 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007269/0.7752, allocations: 401.8 kB / 0.9731 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.833e-05/0.7753, allocations: 16.5 kB / 0.9731 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007591/0.776, allocations: 364.7 kB / 0.9734 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=68): time 2.465e-06/0.776, allocations: 0 / 0.9734 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=68): time 0.002076/0.7781, allocations: 0.8906 MB / 0.9743 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.7783, allocations: 192.5 kB / 0.9745 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009532/0.7792, allocations: 0.6736 MB / 0.9752 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.977e-05/0.7793, allocations: 42.61 kB / 0.9752 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003837/0.7797, allocations: 434.1 kB / 0.9756 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.7799, allocations: 231.1 kB / 0.9758 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.78, allocations: 70.14 kB / 0.9759 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.7802, allocations: 337.3 kB / 0.9762 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007305/0.7809, allocations: 307.9 kB / 0.9765 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008911/0.7818, allocations: 0.4938 MB / 0.977 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.7832, allocations: 0.7167 MB / 0.9777 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.7832, allocations: 1.188 kB / 0.9777 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001964/0.7852, allocations: 0.9173 MB / 0.9786 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001649/0.7854, allocations: 214.6 kB / 0.9788 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.7854, allocations: 3.375 kB / 0.9788 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.7854, allocations: 6.125 kB / 0.9788 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006694/0.7861, allocations: 170.6 kB / 0.979 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.7861, allocations: 10.44 kB / 0.979 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007695/0.7869, allocations: 179.9 kB / 0.9792 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.157e-05/0.787, allocations: 34.09 kB / 0.9792 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.216e-06/0.787, allocations: 8.188 kB / 0.9792 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001217/0.7882, allocations: 0.6721 MB / 0.9798 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.7882, allocations: 4 kB / 0.9799 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.742e-06/0.7882, allocations: 7.938 kB / 0.9799 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005023/0.7887, allocations: 148.2 kB / 0.98 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.7888, allocations: 7.938 kB / 0.98 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006136/0.7894, allocations: 139.2 kB / 0.9801 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.7894, allocations: 27.98 kB / 0.9802 GB, free: 5.816 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.0004687/0.7899, allocations: 310.1 kB / 0.9805 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.79, allocations: 75.06 kB / 0.9805 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.7914, allocations: 0.6906 MB / 0.9812 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.7914, allocations: 8 kB / 0.9812 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.7915, allocations: 4 kB / 0.9812 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.7915, allocations: 3.984 kB / 0.9812 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.7942, allocations: 1.714 MB / 0.9829 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.7942, allocations: 4 kB / 0.9829 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005596/0.7947, allocations: 135.8 kB / 0.983 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/0.7948, allocations: 11.94 kB / 0.983 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.7948, allocations: 12 kB / 0.9831 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-05/0.7948, allocations: 20.08 kB / 0.9831 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7948, allocations: 0 / 0.9831 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.7968, allocations: 1.151 MB / 0.9842 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.797, allocations: 172 kB / 0.9844 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.002e-05/0.7971, allocations: 15.94 kB / 0.9844 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000412/0.7975, allocations: 67.95 kB / 0.9844 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.7976, allocations: 40.5 kB / 0.9845 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/0.7977, allocations: 20 kB / 0.9845 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005863/0.7982, allocations: 483 kB / 0.985 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7983, allocations: 0 / 0.985 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009228/0.7992, allocations: 326.7 kB / 0.9853 GB, free: 432 kB / 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.0002547/0.7994, allocations: 131.1 kB / 0.9854 GB, free: 292 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002232/0.8017, allocations: 1.191 MB / 0.9866 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.8017, allocations: 4.188 kB / 0.9866 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006335/0.8023, allocations: 339.5 kB / 0.9869 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.8036, allocations: 178.8 kB / 0.9871 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.8064, allocations: 1.934 MB / 0.9889 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.8069, allocations: 0.9745 MB / 0.9899 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.8072, allocations: 67.42 kB / 0.99 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of SimCode: time 6.92e-07/0.8072, allocations: 0 / 0.99 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of Templates: time 0.01655/0.8237, allocations: 9.98 MB / 0.9997 GB, free: 1.562 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