Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.y|limPIDInp.u_m|limPIDInp.u_s|limPIPar.y|limPIPar.u_m|limPIPar.u_s|limPIInp.y|limPIInp.u_m|limPIInp.u_s",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.y|limPIDInp.u_m|limPIDInp.u_s|limPIPar.y|limPIPar.u_m|limPIPar.u_s|limPIInp.y|limPIInp.u_m|limPIInp.u_s",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.437/1.437, allocations: 249.5 MB / 257 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009845/0.0009845, allocations: 179.5 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 102.4 kB / 0.6714 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.223e-05/2.227e-05, allocations: 12 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2352, allocations: 106.3 MB / 0.8853 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7997/1.035, allocations: 134.8 MB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/1.035, allocations: 81.38 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04403/1.079, allocations: 18.38 MB / 1.035 GB, free: 3.617 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.473e-06/1.079, allocations: 224 / 1.035 GB, free: 3.617 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.823e-05/1.079, allocations: 20 kB / 1.035 GB, free: 3.598 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.001817/1.081, allocations: 1.133 MB / 1.036 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/1.081, allocations: 8.031 kB / 1.036 GB, free: 2.48 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/1.081, allocations: 134.4 kB / 1.036 GB, free: 2.348 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/1.082, allocations: 0.6468 MB / 1.037 GB, free: 1.77 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.017e-05/1.083, allocations: 28 kB / 1.037 GB, free: 1.742 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/1.083, allocations: 63.91 kB / 1.037 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009919/1.084, allocations: 0.5344 MB / 1.037 GB, free: 1.359 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/1.085, allocations: 0.7732 MB / 1.038 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/1.085, allocations: 0 / 1.038 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.866e-05/1.085, allocations: 4 kB / 1.038 GB, free: 0.7422 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/1.085, allocations: 24 kB / 1.038 GB, free: 0.7188 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004037/1.089, allocations: 3.223 MB / 1.041 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008716/1.09, allocations: 0.5979 MB / 1.042 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004035/1.09, allocations: 323 kB / 1.042 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.729e-05/1.09, allocations: 12.77 kB / 1.042 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004871/1.091, allocations: 294.8 kB / 1.043 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=76): time 2.264e-06/1.091, allocations: 4 kB / 1.043 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.0008643/1.092, allocations: 0.5207 MB / 1.043 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.649e-05/1.092, allocations: 167 kB / 1.043 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005627/1.093, allocations: 499.8 kB / 1.044 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/1.093, allocations: 25.7 kB / 1.044 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/1.093, allocations: 471 kB / 1.044 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/1.093, allocations: 256.4 kB / 1.044 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/1.093, allocations: 4 kB / 1.044 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.093, allocations: 332.8 kB / 1.045 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/1.094, allocations: 192.6 kB / 1.045 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/1.094, allocations: 309.4 kB / 1.045 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/1.094, allocations: 224 kB / 1.045 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.094, allocations: 3.938 kB / 1.045 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008633/1.095, allocations: 0.5945 MB / 1.046 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002025/1.095, allocations: 453.3 kB / 1.046 GB, free: 9.934 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.095, allocations: 0 / 1.046 GB, free: 9.934 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/1.095, allocations: 8 kB / 1.046 GB, free: 9.926 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006171/1.096, allocations: 167 kB / 1.047 GB, free: 9.766 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/1.096, allocations: 7.938 kB / 1.047 GB, free: 9.758 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/1.096, allocations: 91.44 kB / 1.047 GB, free: 9.668 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/1.097, allocations: 22.56 kB / 1.047 GB, free: 9.652 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/1.097, allocations: 4 kB / 1.047 GB, free: 9.648 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006696/1.097, allocations: 473.3 kB / 1.047 GB, free: 9.332 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-06/1.097, allocations: 4.125 kB / 1.047 GB, free: 9.328 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.161e-06/1.097, allocations: 4 kB / 1.047 GB, free: 9.324 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/1.098, allocations: 139.1 kB / 1.047 GB, free: 9.191 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/1.098, allocations: 8.062 kB / 1.047 GB, free: 9.184 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/1.098, allocations: 59.42 kB / 1.047 GB, free: 9.125 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/1.098, allocations: 27.48 kB / 1.047 GB, free: 9.105 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,greEquThr.y,intWitRes4.trigger_internal,intWitRes3.trigger_internal,intWitRes2.trigger_internal,intWitRes1.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * 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.0001334/1.098, allocations: 122.7 kB / 1.048 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/1.098, allocations: 83.02 kB / 1.048 GB, free: 8.898 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/1.099, allocations: 78.2 kB / 1.048 GB, free: 8.852 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.099, allocations: 8 kB / 1.048 GB, free: 8.844 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/1.099, allocations: 0 / 1.048 GB, free: 8.844 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/1.099, allocations: 3.984 kB / 1.048 GB, free: 8.84 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/1.1, allocations: 1.439 MB / 1.049 GB, free: 7.777 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.1, allocations: 0 / 1.049 GB, free: 7.777 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006115/1.101, allocations: 147.7 kB / 1.049 GB, free: 7.637 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/1.101, allocations: 0 / 1.049 GB, free: 7.637 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/1.101, allocations: 7.984 kB / 1.049 GB, free: 7.629 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/1.101, allocations: 4 kB / 1.049 GB, free: 7.625 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.101, allocations: 0 / 1.049 GB, free: 7.625 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/1.102, allocations: 0.9123 MB / 1.05 GB, free: 6.973 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/1.102, allocations: 166.7 kB / 1.05 GB, free: 6.793 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.155e-05/1.103, allocations: 2.812 kB / 1.05 GB, free: 6.793 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/1.103, allocations: 43.95 kB / 1.05 GB, free: 6.75 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/1.103, allocations: 40.53 kB / 1.05 GB, free: 6.711 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/1.103, allocations: 22.75 kB / 1.05 GB, free: 6.695 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000408/1.103, allocations: 385.4 kB / 1.051 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.7e-07/1.103, allocations: 0 / 1.051 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006975/1.104, allocations: 290.3 kB / 1.051 GB, free: 6.137 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (greEquThr.y,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001995/1.104, allocations: 116.8 kB / 1.051 GB, free: 6.016 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001135/1.106, allocations: 0.8094 MB / 1.052 GB, free: 5.469 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.106, allocations: 0 / 1.052 GB, free: 5.469 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003487/1.106, allocations: 272.4 kB / 1.052 GB, free: 5.289 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00085/1.107, allocations: 171.2 kB / 1.052 GB, free: 5.152 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/1.109, allocations: 1.235 MB / 1.054 GB, free: 4.035 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000715/1.11, allocations: 1.046 MB / 1.055 GB, free: 2.961 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005771/1.11, allocations: 134 kB / 1.055 GB, free: 2.828 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/1.11, allocations: 51.42 kB / 1.055 GB, free: 2.777 MB / 0.6667 GB Notification: Performance of SimCode: time 9.92e-07/1.11, allocations: 0 / 1.055 GB, free: 2.777 MB / 0.6667 GB Notification: Performance of Templates: time 0.01559/1.126, allocations: 8.233 MB / 1.063 GB, free: 10.63 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches