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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001458/0.001458, allocations: 107.8 kB / 16.37 MB, free: 6.477 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.001565/0.001565, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.519/2.519, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001226, allocations: 69.12 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.308, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005764/0.3138, allocations: 3.629 MB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003907/0.3178, allocations: 2.117 MB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009454/0.3187, allocations: 23.94 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005189/0.3193, allocations: 178.1 kB / 1.025 GB, free: 3.871 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004481/0.3198, allocations: 146.5 kB / 1.025 GB, free: 3.727 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.3209, allocations: 0.5035 MB / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001029/0.322, allocations: 1.268 MB / 1.026 GB, free: 1.957 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007395/0.3227, allocations: 0.5916 MB / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003623/0.3231, allocations: 450.2 kB / 1.027 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003904/0.3235, allocations: 489.5 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.3236, allocations: 128 kB / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.3238, allocations: 144 kB / 1.028 GB, free: 160 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.324, allocations: 243.2 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003639/0.3244, allocations: 0.5049 MB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.3255, allocations: 1.432 MB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3255, allocations: 4 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3255, allocations: 0 / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.3255, allocations: 0 / 1.03 GB, free: 13.97 MB / 0.8106 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.002145/0.3276, allocations: 1.375 MB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.3277, allocations: 8.031 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.3279, allocations: 123.5 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007982/0.3287, allocations: 0.5948 MB / 1.032 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.895e-05/0.3287, allocations: 70.38 kB / 1.032 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.3289, allocations: 92.28 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.3302, allocations: 0.868 MB / 1.033 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.3303, allocations: 192 / 1.033 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.09e-05/0.3303, allocations: 35.94 kB / 1.033 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.3304, allocations: 24 kB / 1.033 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.3317, allocations: 0.6402 MB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003998/0.3357, allocations: 2.956 MB / 1.037 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.3371, allocations: 0.6869 MB / 1.038 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006145/0.3377, allocations: 374.6 kB / 1.038 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.522e-05/0.3377, allocations: 12.56 kB / 1.038 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006312/0.3384, allocations: 351 kB / 1.038 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=68): time 2.856e-06/0.3384, allocations: 0 / 1.038 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of matching and sorting (n=68): time 0.001678/0.3401, allocations: 0.8259 MB / 1.039 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.315e-05/0.3402, allocations: 192.5 kB / 1.039 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007414/0.3409, allocations: 0.6801 MB / 1.04 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.597e-05/0.341, allocations: 45.7 kB / 1.04 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.3413, allocations: 428.9 kB / 1.04 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.3414, allocations: 228.7 kB / 1.041 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.3417, allocations: 146.6 kB / 1.041 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3418, allocations: 333.9 kB / 1.041 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006656/0.3425, allocations: 308.6 kB / 1.041 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000785/0.3433, allocations: 478.1 kB / 1.042 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.3445, allocations: 0.681 MB / 1.043 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.3445, allocations: 7.938 kB / 1.043 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001663/0.3462, allocations: 0.8729 MB / 1.043 GB, free: 124 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.3462, allocations: 41.69 kB / 1.043 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3463, allocations: 0 / 1.043 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.3463, allocations: 8 kB / 1.043 GB, free: 68 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006551/0.3469, allocations: 163.7 kB / 1.044 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.347, allocations: 12.09 kB / 1.044 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005681/0.3475, allocations: 139 kB / 1.044 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.3477, allocations: 31.98 kB / 1.044 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006382/0.3483, allocations: 398.9 kB / 1.044 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005739/0.3489, allocations: 422.2 kB / 1.045 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000813/0.3497, allocations: 0.56 MB / 1.045 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.495e-06/0.3497, allocations: 4 kB / 1.045 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001229/0.351, allocations: 0.7596 MB / 1.046 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.351, allocations: 33.7 kB / 1.046 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.351, allocations: 4 kB / 1.046 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.351, allocations: 11.92 kB / 1.046 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000488/0.3515, allocations: 140.1 kB / 1.046 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.3516, allocations: 12 kB / 1.046 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004954/0.3521, allocations: 111.4 kB / 1.046 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/0.3521, allocations: 35.98 kB / 1.046 GB, free: 13.13 MB / 0.8262 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.0002136/0.3523, allocations: 232 kB / 1.046 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.415e-05/0.3524, allocations: 78.97 kB / 1.046 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.3537, allocations: 0.6476 MB / 1.047 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.3537, allocations: 12 kB / 1.047 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3537, allocations: 0 / 1.047 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.3537, allocations: 3.984 kB / 1.047 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.3561, allocations: 1.667 MB / 1.049 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.3561, allocations: 12.22 kB / 1.049 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005214/0.3566, allocations: 127.8 kB / 1.049 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.3566, allocations: 4 kB / 1.049 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/0.3567, allocations: 19.98 kB / 1.049 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.3567, allocations: 7.938 kB / 1.049 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3567, allocations: 4 kB / 1.049 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.3584, allocations: 1.081 MB / 1.05 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.3586, allocations: 183.8 kB / 1.05 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.197e-05/0.3587, allocations: 20 kB / 1.05 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003526/0.3591, allocations: 47.95 kB / 1.05 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.3591, allocations: 40.5 kB / 1.05 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.3592, allocations: 20 kB / 1.05 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000546/0.3597, allocations: 487 kB / 1.051 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3597, allocations: 4.094 kB / 1.051 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008086/0.3605, allocations: 318.8 kB / 1.051 GB, free: 7.98 MB / 0.8262 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.0002178/0.3608, allocations: 131.1 kB / 1.051 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00203/0.3628, allocations: 1.148 MB / 1.052 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3628, allocations: 4.5 kB / 1.052 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005269/0.3634, allocations: 303 kB / 1.053 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008398/0.3642, allocations: 187.2 kB / 1.053 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.3665, allocations: 1.484 MB / 1.054 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/0.367, allocations: 0.982 MB / 1.055 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003517/0.3674, allocations: 101.9 kB / 1.055 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.3676, allocations: 71.41 kB / 1.055 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of SimCode: time 1.082e-06/0.3676, allocations: 0 / 1.055 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of Templates: time 0.01933/0.3869, allocations: 9.676 MB / 1.065 GB, free: 9.887 MB / 0.8419 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=480 -s gbode -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/jenkins1/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