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.5/1.5, allocations: 249.3 MB / 261.8 MB, free: 5.926 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.001238/0.001238, allocations: 176.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.1 MB / 0.572 GB, free: 10.67 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.0007919/0.0007919, allocations: 74.55 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.699e-05/3.715e-05, allocations: 8 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2038, allocations: 106.3 MB / 0.8918 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6985/0.9024, allocations: 134.5 MB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.9027, allocations: 78.48 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04673/0.9495, allocations: 18.5 MB / 1.041 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9495, allocations: 224 / 1.041 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.276e-05/0.9496, allocations: 24.19 kB / 1.041 GB, free: 0.5859 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.001775/0.9514, allocations: 1.135 MB / 1.042 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.9515, allocations: 12.03 kB / 1.042 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.9517, allocations: 134.4 kB / 1.043 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.9527, allocations: 0.6356 MB / 1.043 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.03e-05/0.9528, allocations: 75.81 kB / 1.043 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.9529, allocations: 107.6 kB / 1.043 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.9544, allocations: 0.9071 MB / 1.044 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.9545, allocations: 4 kB / 1.044 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.146e-05/0.9546, allocations: 42.69 kB / 1.044 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.9546, allocations: 24 kB / 1.044 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.9556, allocations: 0.5992 MB / 1.045 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004693/0.9603, allocations: 3.407 MB / 1.048 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009956/0.9614, allocations: 0.633 MB / 1.049 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004703/0.9618, allocations: 345.9 kB / 1.049 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.512e-05/0.9619, allocations: 8.781 kB / 1.049 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005167/0.9624, allocations: 318.5 kB / 1.05 GB, free: 9.855 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=76): time 3.015e-06/0.9624, allocations: 4 kB / 1.05 GB, free: 9.852 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.001038/0.9635, allocations: 0.5619 MB / 1.05 GB, free: 9.426 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.309e-05/0.9636, allocations: 163 kB / 1.05 GB, free: 9.23 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007445/0.9643, allocations: 0.5867 MB / 1.051 GB, free: 8.777 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.085e-05/0.9644, allocations: 48.02 kB / 1.051 GB, free: 8.734 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/0.9647, allocations: 469.9 kB / 1.051 GB, free: 8.43 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.9649, allocations: 263 kB / 1.052 GB, free: 8.207 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.965, allocations: 9.875 kB / 1.052 GB, free: 8.207 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.9651, allocations: 342.1 kB / 1.052 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/0.9654, allocations: 199.4 kB / 1.052 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004027/0.9658, allocations: 327.3 kB / 1.052 GB, free: 7.504 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/0.9662, allocations: 234.8 kB / 1.053 GB, free: 7.359 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.9662, allocations: 0 / 1.053 GB, free: 7.359 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.000999/0.9672, allocations: 0.6526 MB / 1.053 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002027/0.9675, allocations: 458.9 kB / 1.054 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.9675, allocations: 4 kB / 1.054 GB, free: 6.402 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.9675, allocations: 11.95 kB / 1.054 GB, free: 6.391 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006623/0.9682, allocations: 162.7 kB / 1.054 GB, free: 6.234 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.9682, allocations: 4 kB / 1.054 GB, free: 6.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/0.9687, allocations: 111.9 kB / 1.054 GB, free: 6.133 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-05/0.9687, allocations: 31.56 kB / 1.054 GB, free: 6.109 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.9688, allocations: 4 kB / 1.054 GB, free: 6.105 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000766/0.9695, allocations: 0.5345 MB / 1.055 GB, free: 5.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.9695, allocations: 4 kB / 1.055 GB, free: 5.746 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-06/0.9696, allocations: 4 kB / 1.055 GB, free: 5.742 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004715/0.97, allocations: 136.9 kB / 1.055 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.9701, allocations: 12 kB / 1.055 GB, free: 5.602 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.9704, allocations: 84.59 kB / 1.055 GB, free: 5.531 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.9704, allocations: 19.62 kB / 1.055 GB, free: 5.516 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.0001649/0.9706, allocations: 156.6 kB / 1.055 GB, free: 5.383 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.9707, allocations: 82.97 kB / 1.055 GB, free: 5.301 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.971, allocations: 101.5 kB / 1.055 GB, free: 5.246 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.971, allocations: 8 kB / 1.055 GB, free: 5.238 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.9711, allocations: 0 / 1.055 GB, free: 5.238 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.9711, allocations: 3.984 kB / 1.055 GB, free: 5.234 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.9732, allocations: 1.598 MB / 1.057 GB, free: 4.055 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.9732, allocations: 4 kB / 1.057 GB, free: 4.051 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005968/0.9738, allocations: 142.1 kB / 1.057 GB, free: 3.918 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/0.9738, allocations: 7.984 kB / 1.057 GB, free: 3.91 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/0.9739, allocations: 11.69 kB / 1.057 GB, free: 3.906 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.9739, allocations: 7.938 kB / 1.057 GB, free: 3.898 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.9739, allocations: 0 / 1.057 GB, free: 3.898 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.9752, allocations: 0.98 MB / 1.058 GB, free: 3.191 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.9753, allocations: 170.1 kB / 1.058 GB, free: 3.012 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.701e-05/0.9754, allocations: 16.44 kB / 1.058 GB, free: 3.008 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/0.9758, allocations: 57.27 kB / 1.058 GB, free: 2.961 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.9759, allocations: 40.2 kB / 1.058 GB, free: 2.926 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.944e-05/0.9759, allocations: 26.98 kB / 1.058 GB, free: 2.906 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005053/0.9764, allocations: 465.8 kB / 1.059 GB, free: 2.566 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9764, allocations: 0 / 1.059 GB, free: 2.566 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007523/0.9772, allocations: 329.4 kB / 1.059 GB, free: 2.277 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.0002225/0.9774, allocations: 130.6 kB / 1.059 GB, free: 2.148 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.9787, allocations: 0.8584 MB / 1.06 GB, free: 1.555 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.9787, allocations: 7.984 kB / 1.06 GB, free: 1.547 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003795/0.9791, allocations: 280.9 kB / 1.06 GB, free: 1.352 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000859/0.98, allocations: 194.4 kB / 1.06 GB, free: 1.211 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.9821, allocations: 1.267 MB / 1.062 GB, free: 88 kB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005968/0.9827, allocations: 1.048 MB / 1.063 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006559/0.9834, allocations: 138.4 kB / 1.063 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.9836, allocations: 55.42 kB / 1.063 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of SimCode: time 6.51e-07/0.9836, allocations: 7.875 kB / 1.063 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of Templates: time 0.01901/1.003, allocations: 9.206 MB / 1.072 GB, free: 5.688 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