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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.648/2.648, allocations: 390.3 MB / 405.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 187.2 kB / 498.1 MB, free: 5.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 223.2 MB / 0.7948 GB, free: 18.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008831/0.0008831, allocations: 98.33 kB / 0.9346 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003957, allocations: 11.69 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3159, allocations: 142.3 MB / 1.223 GB, free: 89.54 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.206/0.5219, allocations: 151.3 MB / 1.371 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.5222, allocations: 79.95 kB / 1.371 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04525/0.5675, allocations: 16.14 MB / 1.386 GB, free: 1.797 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5675, allocations: 0 / 1.386 GB, free: 1.797 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.427e-05/0.5676, allocations: 20 kB / 1.386 GB, free: 1.777 MB / 0.8855 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.002849/0.5705, allocations: 1.226 MB / 1.388 GB, free: 500 kB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.5705, allocations: 12.03 kB / 1.388 GB, free: 488 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004009/0.5709, allocations: 126.5 kB / 1.388 GB, free: 360 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.5721, allocations: 0.5608 MB / 1.388 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-05/0.5722, allocations: 70 kB / 1.388 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.5724, allocations: 92 kB / 1.389 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.5741, allocations: 0.8713 MB / 1.389 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.5741, allocations: 8 kB / 1.389 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.541e-05/0.5742, allocations: 36 kB / 1.389 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.5742, allocations: 20 kB / 1.389 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.5757, allocations: 0.6754 MB / 1.39 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005024/0.5807, allocations: 2.781 MB / 1.393 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.5825, allocations: 0.8044 MB / 1.394 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.598e-05/0.5826, allocations: 12.55 kB / 1.394 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007898/0.5833, allocations: 396.1 kB / 1.394 GB, free: 9.871 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=75): time 4.008e-06/0.5834, allocations: 0 / 1.394 GB, free: 9.871 MB / 0.9011 GB Notification: Performance of matching and sorting (n=75): time 0.001952/0.5853, allocations: 0.9381 MB / 1.395 GB, free: 8.93 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.5855, allocations: 188.6 kB / 1.395 GB, free: 8.699 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009591/0.5864, allocations: 0.6211 MB / 1.396 GB, free: 8.074 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.5865, allocations: 49.62 kB / 1.396 GB, free: 8.02 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/0.5869, allocations: 416.3 kB / 1.396 GB, free: 7.605 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.5871, allocations: 236.5 kB / 1.396 GB, free: 7.371 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.5872, allocations: 16 kB / 1.396 GB, free: 7.355 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.5873, allocations: 337.9 kB / 1.397 GB, free: 7.02 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006886/0.588, allocations: 301.8 kB / 1.397 GB, free: 6.723 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007734/0.5888, allocations: 452.2 kB / 1.397 GB, free: 6.234 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007429/0.5896, allocations: 364.2 kB / 1.398 GB, free: 5.875 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.373e-06/0.5896, allocations: 4 kB / 1.398 GB, free: 5.871 MB / 0.9011 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001878/0.5915, allocations: 0.8983 MB / 1.399 GB, free: 4.961 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002808/0.5918, allocations: 0.5637 MB / 1.399 GB, free: 4.352 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.5918, allocations: 0 / 1.399 GB, free: 4.352 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.5918, allocations: 4 kB / 1.399 GB, free: 4.348 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006496/0.5925, allocations: 175.8 kB / 1.399 GB, free: 4.176 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.5925, allocations: 4 kB / 1.399 GB, free: 4.172 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007205/0.5932, allocations: 167.1 kB / 1.4 GB, free: 4.008 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.28e-05/0.5933, allocations: 31.98 kB / 1.4 GB, free: 3.977 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.5933, allocations: 4 kB / 1.4 GB, free: 3.973 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001129/0.5944, allocations: 0.6439 MB / 1.4 GB, free: 3.324 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.5944, allocations: 4 kB / 1.4 GB, free: 3.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.004e-06/0.5945, allocations: 4 kB / 1.4 GB, free: 3.316 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/0.5949, allocations: 135.8 kB / 1.4 GB, free: 3.184 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.5949, allocations: 16.11 kB / 1.4 GB, free: 3.168 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000569/0.5955, allocations: 127.2 kB / 1.4 GB, free: 3.043 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/0.5956, allocations: 31.92 kB / 1.401 GB, free: 3.012 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004743/0.5961, allocations: 300 kB / 1.401 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.5962, allocations: 82.97 kB / 1.401 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.5976, allocations: 0.7328 MB / 1.402 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.5976, allocations: 8 kB / 1.402 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5976, allocations: 3.953 kB / 1.402 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.5976, allocations: 11.98 kB / 1.402 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002619/0.6002, allocations: 1.769 MB / 1.403 GB, free: 8 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.6003, allocations: 4.031 kB / 1.403 GB, free: 4 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.7056/1.306, allocations: 146.4 kB / 1.403 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.424e-05/1.306, allocations: 4.719 kB / 1.403 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.947e-05/1.306, allocations: 19.73 kB / 1.403 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-05/1.306, allocations: 7.391 kB / 1.404 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.306, allocations: 7.875 kB / 1.404 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/1.308, allocations: 1.305 MB / 1.405 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002252/1.308, allocations: 176.1 kB / 1.405 GB, free: 168.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.75e-05/1.309, allocations: 17.88 kB / 1.405 GB, free: 168.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/1.309, allocations: 67.77 kB / 1.405 GB, free: 168.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.872e-05/1.309, allocations: 52.73 kB / 1.405 GB, free: 168.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.264e-05/1.309, allocations: 24.23 kB / 1.405 GB, free: 168.8 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0006479/1.31, allocations: 0.4929 MB / 1.406 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.6e-07/1.31, allocations: 3.625 kB / 1.406 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009004/1.311, allocations: 323.4 kB / 1.406 GB, free: 168.7 MB / 0.9011 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: 6 ($whenCondition5,$whenCondition4,$whenCondition3,$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 (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002385/1.311, allocations: 146.2 kB / 1.406 GB, free: 168.6 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002159/1.313, allocations: 1.174 MB / 1.407 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.313, allocations: 1.375 kB / 1.407 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006547/1.314, allocations: 350.3 kB / 1.408 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008881/1.315, allocations: 161 kB / 1.408 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/1.317, allocations: 1.818 MB / 1.409 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005411/1.318, allocations: 1.001 MB / 1.41 GB, free: 166.8 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005072/1.318, allocations: 105 kB / 1.411 GB, free: 166.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/1.319, allocations: 64.23 kB / 1.411 GB, free: 166.8 MB / 0.9011 GB Notification: Performance of SimCode: time 1.092e-06/1.319, allocations: 0 / 1.411 GB, free: 166.8 MB / 0.9011 GB Notification: Performance of Templates: time 0.02111/1.34, allocations: 9.093 MB / 1.419 GB, free: 166.4 MB / 0.9011 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches