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.00167/0.00167, allocations: 106.9 kB / 15.99 MB, free: 6.352 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.001867/0.001867, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.406/1.406, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.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.564/2.564, allocations: 437 MB / 0.7107 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 67.75 kB / 0.8694 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3107, allocations: 151.6 MB / 1.018 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.00509/0.3159, allocations: 3.595 MB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00362/0.3195, allocations: 2.078 MB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004384/0.32, allocations: 23.94 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000434/0.3204, allocations: 134.8 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003423/0.3208, allocations: 95.22 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.3219, allocations: 452.4 kB / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00127/0.3232, allocations: 1.241 MB / 1.025 GB, free: 3.383 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008713/0.324, allocations: 0.5993 MB / 1.026 GB, free: 2.762 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005039/0.3246, allocations: 454.2 kB / 1.026 GB, free: 2.316 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004784/0.325, allocations: 477.5 kB / 1.026 GB, free: 1.848 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.3252, allocations: 132 kB / 1.027 GB, free: 1.719 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.3254, allocations: 136 kB / 1.027 GB, free: 1.586 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002187/0.3256, allocations: 263.1 kB / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0004553/0.3261, allocations: 0.509 MB / 1.027 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.3273, allocations: 1.099 MB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3273, allocations: 0 / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3273, allocations: 0 / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.093e-05/0.3273, allocations: 0 / 1.028 GB, free: 15.71 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.002663/0.33, allocations: 1.375 MB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.3301, allocations: 12.03 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.3303, allocations: 115.5 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008708/0.3311, allocations: 0.587 MB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.37e-05/0.3312, allocations: 70.38 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.3314, allocations: 100.3 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.333, allocations: 0.8602 MB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.333, allocations: 192 / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.291e-05/0.3331, allocations: 43.92 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/0.3331, allocations: 20 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.3345, allocations: 0.6363 MB / 1.032 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004726/0.3392, allocations: 2.992 MB / 1.035 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.3407, allocations: 0.6841 MB / 1.036 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006747/0.3414, allocations: 370.6 kB / 1.036 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.166e-05/0.3415, allocations: 20.53 kB / 1.036 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000774/0.3423, allocations: 347 kB / 1.036 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=68): time 2.294e-06/0.3423, allocations: 0 / 1.036 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=68): time 0.001854/0.3442, allocations: 0.8298 MB / 1.037 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.3443, allocations: 192.5 kB / 1.037 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009098/0.3452, allocations: 0.6762 MB / 1.038 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.495e-05/0.3453, allocations: 49.7 kB / 1.038 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000402/0.3457, allocations: 423.8 kB / 1.039 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.3459, allocations: 232.6 kB / 1.039 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000265/0.3462, allocations: 150.5 kB / 1.039 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3464, allocations: 337.9 kB / 1.039 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007195/0.3471, allocations: 296.7 kB / 1.04 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008654/0.348, allocations: 478.1 kB / 1.04 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.3493, allocations: 0.6771 MB / 1.041 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.3493, allocations: 3.938 kB / 1.041 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001844/0.3512, allocations: 0.8846 MB / 1.042 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.521e-05/0.3512, allocations: 40.36 kB / 1.042 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.3513, allocations: 4 kB / 1.042 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.3513, allocations: 8 kB / 1.042 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006649/0.352, allocations: 159.8 kB / 1.042 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-05/0.352, allocations: 12.06 kB / 1.042 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006558/0.3527, allocations: 143 kB / 1.042 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.596e-05/0.3527, allocations: 31.98 kB / 1.042 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007116/0.3535, allocations: 398 kB / 1.042 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006439/0.3541, allocations: 418.3 kB / 1.043 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009144/0.355, allocations: 0.5639 MB / 1.043 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.739e-06/0.3551, allocations: 4 kB / 1.043 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001366/0.3564, allocations: 0.7596 MB / 1.044 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.083e-05/0.3565, allocations: 37.64 kB / 1.044 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3565, allocations: 7.938 kB / 1.044 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.3565, allocations: 4 kB / 1.044 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005105/0.357, allocations: 140.2 kB / 1.044 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.357, allocations: 12 kB / 1.044 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005964/0.3577, allocations: 107.4 kB / 1.044 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.607e-05/0.3577, allocations: 35.98 kB / 1.044 GB, free: 14.85 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.0002672/0.358, allocations: 224 kB / 1.045 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.3581, allocations: 86.97 kB / 1.045 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.3595, allocations: 0.6555 MB / 1.045 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.3595, allocations: 12 kB / 1.045 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3595, allocations: 0 / 1.045 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.3595, allocations: 3.984 kB / 1.045 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/0.3623, allocations: 1.667 MB / 1.047 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.3623, allocations: 7.969 kB / 1.047 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005638/0.3629, allocations: 131.8 kB / 1.047 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.427e-06/0.3629, allocations: 4 kB / 1.047 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.771e-05/0.363, allocations: 19.98 kB / 1.047 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/0.363, allocations: 4 kB / 1.047 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.363, allocations: 4 kB / 1.047 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/0.365, allocations: 1.085 MB / 1.048 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.3652, allocations: 179.9 kB / 1.048 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.8e-05/0.3653, allocations: 16 kB / 1.048 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.3657, allocations: 48.05 kB / 1.048 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.638e-05/0.3657, allocations: 48.38 kB / 1.048 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.3658, allocations: 20 kB / 1.048 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0006197/0.3664, allocations: 491 kB / 1.049 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3664, allocations: 0 / 1.049 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009615/0.3674, allocations: 318.8 kB / 1.049 GB, free: 9.703 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.000274/0.3677, allocations: 127.6 kB / 1.049 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002745/0.3704, allocations: 1.171 MB / 1.05 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/0.3705, allocations: 0.5 kB / 1.05 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007838/0.3713, allocations: 322.9 kB / 1.051 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.3726, allocations: 188.4 kB / 1.051 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/0.3758, allocations: 1.89 MB / 1.053 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006997/0.3765, allocations: 0.9782 MB / 1.054 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/0.3768, allocations: 67.42 kB / 1.054 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of SimCode: time 9.92e-07/0.3768, allocations: 0 / 1.054 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of Templates: time 0.01819/0.395, allocations: 10.11 MB / 1.064 GB, free: 10.78 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=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/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