Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001424/0.001424, allocations: 103.9 kB / 16.35 MB, free: 5.828 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.001547/0.001547, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.502/2.502, allocations: 442.5 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 72.95 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.329, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005306/0.3344, allocations: 3.633 MB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004165/0.3386, allocations: 2.125 MB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005093/0.3391, allocations: 19.94 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004633/0.3396, allocations: 178 kB / 1.033 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.34, allocations: 146.6 kB / 1.033 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.3413, allocations: 0.5029 MB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001168/0.3425, allocations: 1.256 MB / 1.034 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008022/0.3433, allocations: 0.5916 MB / 1.035 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004278/0.3437, allocations: 454.2 kB / 1.035 GB, free: 9.066 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004226/0.3441, allocations: 485.5 kB / 1.036 GB, free: 8.59 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.3443, allocations: 128 kB / 1.036 GB, free: 8.465 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.3445, allocations: 144 kB / 1.036 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.3447, allocations: 259.1 kB / 1.036 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003747/0.345, allocations: 0.5012 MB / 1.037 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.3462, allocations: 1.421 MB / 1.038 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3462, allocations: 4 kB / 1.038 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3462, allocations: 4 kB / 1.038 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.3462, allocations: 0 / 1.038 GB, free: 6.133 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.002287/0.3485, allocations: 1.368 MB / 1.04 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.3486, allocations: 8.031 kB / 1.04 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.3488, allocations: 127.5 kB / 1.04 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009057/0.3497, allocations: 0.5948 MB / 1.04 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.863e-05/0.3498, allocations: 70.38 kB / 1.04 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.3499, allocations: 96.28 kB / 1.04 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.3512, allocations: 0.8602 MB / 1.041 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.3513, allocations: 192 / 1.041 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.207e-05/0.3513, allocations: 39.94 kB / 1.041 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.3514, allocations: 24 kB / 1.041 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.3526, allocations: 0.6402 MB / 1.042 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004208/0.3568, allocations: 2.96 MB / 1.045 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.3582, allocations: 0.6831 MB / 1.046 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005906/0.3588, allocations: 370.6 kB / 1.046 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.216e-05/0.3589, allocations: 16.53 kB / 1.046 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006377/0.3595, allocations: 347 kB / 1.046 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=68): time 4.409e-06/0.3595, allocations: 0 / 1.046 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=68): time 0.001711/0.3613, allocations: 0.8376 MB / 1.047 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.3614, allocations: 192.4 kB / 1.047 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000817/0.3622, allocations: 0.6762 MB / 1.048 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.302e-05/0.3623, allocations: 41.7 kB / 1.048 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/0.3627, allocations: 440.9 kB / 1.048 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.3628, allocations: 232.6 kB / 1.049 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.3631, allocations: 142.6 kB / 1.049 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3633, allocations: 337.9 kB / 1.049 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006569/0.3639, allocations: 296.7 kB / 1.049 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007844/0.3647, allocations: 478.2 kB / 1.05 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.3659, allocations: 0.6809 MB / 1.05 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.366, allocations: 0 / 1.05 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001649/0.3676, allocations: 0.8807 MB / 1.051 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.352e-05/0.3677, allocations: 37.7 kB / 1.051 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3677, allocations: 4 kB / 1.051 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.3677, allocations: 4 kB / 1.051 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006158/0.3683, allocations: 167.8 kB / 1.052 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.3684, allocations: 4 kB / 1.052 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005956/0.369, allocations: 143 kB / 1.052 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-05/0.369, allocations: 35.92 kB / 1.052 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006756/0.3697, allocations: 398 kB / 1.052 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005577/0.3703, allocations: 414.3 kB / 1.052 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008142/0.3711, allocations: 0.5678 MB / 1.053 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.284e-06/0.3711, allocations: 0 / 1.053 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001242/0.3724, allocations: 0.7634 MB / 1.054 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/0.3724, allocations: 37.7 kB / 1.054 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3724, allocations: 0 / 1.054 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.3724, allocations: 8 kB / 1.054 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.3729, allocations: 139.8 kB / 1.054 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3729, allocations: 4.375 kB / 1.054 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/0.3735, allocations: 115.5 kB / 1.054 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/0.3735, allocations: 31.98 kB / 1.054 GB, free: 5.309 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.0002089/0.3737, allocations: 228 kB / 1.054 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.474e-05/0.3738, allocations: 86.97 kB / 1.054 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.375, allocations: 0.6516 MB / 1.055 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.375, allocations: 4 kB / 1.055 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.375, allocations: 7.938 kB / 1.055 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.3751, allocations: 7.984 kB / 1.055 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/0.3775, allocations: 1.667 MB / 1.057 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.3775, allocations: 3.938 kB / 1.057 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005139/0.378, allocations: 136.1 kB / 1.057 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.378, allocations: 4.188 kB / 1.057 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.3781, allocations: 19.94 kB / 1.057 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.3781, allocations: 11.92 kB / 1.057 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3781, allocations: 0 / 1.057 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.3798, allocations: 1.085 MB / 1.058 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.38, allocations: 179.9 kB / 1.058 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.783e-05/0.38, allocations: 12 kB / 1.058 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.3804, allocations: 51.95 kB / 1.058 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/0.3805, allocations: 48.44 kB / 1.058 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-05/0.3805, allocations: 20 kB / 1.058 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005522/0.3811, allocations: 483 kB / 1.059 GB, free: 472 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3811, allocations: 0 / 1.059 GB, free: 472 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000888/0.382, allocations: 318.8 kB / 1.059 GB, free: 152 kB / 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.0002311/0.3822, allocations: 139.1 kB / 1.059 GB, free: 0 / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.3842, allocations: 1.14 MB / 1.06 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3842, allocations: 0 / 1.06 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005135/0.3848, allocations: 311.5 kB / 1.061 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009011/0.3857, allocations: 190.9 kB / 1.061 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.3879, allocations: 1.482 MB / 1.062 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.3884, allocations: 0.9743 MB / 1.063 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003411/0.3887, allocations: 97.91 kB / 1.063 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.3889, allocations: 63.42 kB / 1.063 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of SimCode: time 6.21e-07/0.3889, allocations: 0 / 1.063 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.01688/0.4058, allocations: 9.691 MB / 1.073 GB, free: 2.059 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches