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.001373/0.001373, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001489/0.001489, allocations: 198.4 kB / 16.14 MB, free: 6.633 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.515/1.515, allocations: 222.9 MB / 239.8 MB, free: 4.539 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.763/2.763, allocations: 437 MB / 0.7099 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 67.89 kB / 0.8686 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8157/0.8179, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.006053/0.824, allocations: 3.602 MB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004289/0.8283, allocations: 2.097 MB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.8295, allocations: 19.94 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005918/0.8301, allocations: 126.8 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005459/0.8307, allocations: 99.27 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.8321, allocations: 439.9 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001699/0.8338, allocations: 1.143 MB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009173/0.8347, allocations: 0.5759 MB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004799/0.8352, allocations: 370.2 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004748/0.8357, allocations: 437.6 kB / 1.025 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.8358, allocations: 63.94 kB / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.8361, allocations: 79.98 kB / 1.025 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.8363, allocations: 191.1 kB / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004532/0.8367, allocations: 445.2 kB / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.8382, allocations: 1.318 MB / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.8382, allocations: 0 / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8382, allocations: 0 / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.414e-05/0.8382, allocations: 4 kB / 1.027 GB, free: 7.715 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.00279/0.841, allocations: 1.36 MB / 1.029 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.8411, allocations: 12.03 kB / 1.029 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.8413, allocations: 123.5 kB / 1.029 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000984/0.8423, allocations: 0.5947 MB / 1.029 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.058e-05/0.8424, allocations: 70.38 kB / 1.029 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.8426, allocations: 96.28 kB / 1.03 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.8442, allocations: 0.8602 MB / 1.03 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.8442, allocations: 8.062 kB / 1.03 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.15e-05/0.8443, allocations: 39.94 kB / 1.03 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.8443, allocations: 20 kB / 1.03 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.8458, allocations: 0.6363 MB / 1.031 GB, free: 3.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005395/0.8512, allocations: 3.003 MB / 1.034 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.8527, allocations: 0.6808 MB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007285/0.8535, allocations: 378.6 kB / 1.035 GB, free: 15.61 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.978e-05/0.8535, allocations: 9.656 kB / 1.035 GB, free: 15.6 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007793/0.8543, allocations: 347 kB / 1.035 GB, free: 15.25 MB / 0.795 GB Notification: Performance of pre-optimization done (n=68): time 2.835e-06/0.8543, allocations: 0 / 1.035 GB, free: 15.25 MB / 0.795 GB Notification: Performance of matching and sorting (n=68): time 0.00182/0.8561, allocations: 0.826 MB / 1.036 GB, free: 14.41 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/0.8563, allocations: 192.5 kB / 1.036 GB, free: 14.18 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009733/0.8573, allocations: 0.6763 MB / 1.037 GB, free: 13.5 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.019e-05/0.8574, allocations: 45.7 kB / 1.037 GB, free: 13.45 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004268/0.8578, allocations: 431.8 kB / 1.037 GB, free: 13.02 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/0.858, allocations: 228.7 kB / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/0.8584, allocations: 146.6 kB / 1.038 GB, free: 12.64 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002443/0.8586, allocations: 337.9 kB / 1.038 GB, free: 12.3 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007676/0.8594, allocations: 296.7 kB / 1.038 GB, free: 12.01 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008728/0.8603, allocations: 486 kB / 1.039 GB, free: 11.46 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.8616, allocations: 0.6731 MB / 1.04 GB, free: 10.74 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.8616, allocations: 0 / 1.04 GB, free: 10.74 MB / 0.795 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001803/0.8634, allocations: 0.8808 MB / 1.04 GB, free: 9.844 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.274e-05/0.8635, allocations: 41.69 kB / 1.04 GB, free: 9.797 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.8635, allocations: 4 kB / 1.04 GB, free: 9.793 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.8635, allocations: 8 kB / 1.04 GB, free: 9.785 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006588/0.8642, allocations: 155.8 kB / 1.041 GB, free: 9.633 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/0.8642, allocations: 11.94 kB / 1.041 GB, free: 9.621 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006742/0.8649, allocations: 146.9 kB / 1.041 GB, free: 9.48 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.845e-05/0.865, allocations: 31.98 kB / 1.041 GB, free: 9.449 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007611/0.8658, allocations: 394 kB / 1.041 GB, free: 9.062 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007055/0.8665, allocations: 422.2 kB / 1.042 GB, free: 8.582 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009444/0.8674, allocations: 0.5639 MB / 1.042 GB, free: 7.977 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.295e-06/0.8674, allocations: 0 / 1.042 GB, free: 7.977 MB / 0.795 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.00135/0.8688, allocations: 0.7675 MB / 1.043 GB, free: 7.195 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/0.8689, allocations: 37.69 kB / 1.043 GB, free: 7.152 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.8689, allocations: 4 kB / 1.043 GB, free: 7.148 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/0.8689, allocations: 4 kB / 1.043 GB, free: 7.145 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.8694, allocations: 136 kB / 1.043 GB, free: 7.012 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.8694, allocations: 11.94 kB / 1.043 GB, free: 7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006166/0.87, allocations: 119.5 kB / 1.043 GB, free: 6.883 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/0.8701, allocations: 36 kB / 1.043 GB, free: 6.848 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.0002778/0.8704, allocations: 228 kB / 1.043 GB, free: 6.617 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.8705, allocations: 82.97 kB / 1.044 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.8719, allocations: 0.6593 MB / 1.044 GB, free: 5.867 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.8719, allocations: 4 kB / 1.044 GB, free: 5.863 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.8719, allocations: 4 kB / 1.044 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.8719, allocations: 0 / 1.044 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/0.8747, allocations: 1.667 MB / 1.046 GB, free: 4.105 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.8747, allocations: 3.938 kB / 1.046 GB, free: 4.102 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005318/0.8753, allocations: 131.8 kB / 1.046 GB, free: 3.973 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.8753, allocations: 8.281 kB / 1.046 GB, free: 3.965 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-05/0.8753, allocations: 23.98 kB / 1.046 GB, free: 3.941 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.8753, allocations: 4 kB / 1.046 GB, free: 3.938 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.8754, allocations: 4 kB / 1.046 GB, free: 3.934 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.8773, allocations: 1.081 MB / 1.047 GB, free: 2.809 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.8775, allocations: 171.9 kB / 1.047 GB, free: 2.621 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.552e-05/0.8776, allocations: 23.98 kB / 1.047 GB, free: 2.598 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004314/0.878, allocations: 47.95 kB / 1.047 GB, free: 2.551 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.8781, allocations: 40.45 kB / 1.047 GB, free: 2.512 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/0.8782, allocations: 23.98 kB / 1.047 GB, free: 2.488 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006691/0.8788, allocations: 483 kB / 1.048 GB, free: 2.023 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.944e-06/0.8788, allocations: 0 / 1.048 GB, free: 2.023 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008815/0.8797, allocations: 330.7 kB / 1.048 GB, free: 1.699 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.0002515/0.88, allocations: 131.6 kB / 1.048 GB, free: 1.559 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002304/0.8823, allocations: 1.147 MB / 1.049 GB, free: 396 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.8823, allocations: 0 / 1.049 GB, free: 396 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006739/0.883, allocations: 313 kB / 1.05 GB, free: 80 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009693/0.884, allocations: 168.4 kB / 1.05 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003101/0.8871, allocations: 1.847 MB / 1.052 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007302/0.8878, allocations: 0.9784 MB / 1.053 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004392/0.8883, allocations: 97.91 kB / 1.053 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.8885, allocations: 63.42 kB / 1.053 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of SimCode: time 1.202e-06/0.8885, allocations: 0 / 1.053 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of Templates: time 0.02002/0.9085, allocations: 9.238 MB / 1.062 GB, free: 3.699 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