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.374/1.374, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001371/0.001371, allocations: 175.9 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0009057/0.0009057, allocations: 91.84 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003314, allocations: 11.94 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2679, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1804/0.4484, allocations: 134.6 MB / 1.032 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.4487, allocations: 79.95 kB / 1.032 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0465/0.4952, allocations: 18.54 MB / 1.05 GB, free: 6.465 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4953, allocations: 4 kB / 1.05 GB, free: 6.461 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001062/0.4954, allocations: 24 kB / 1.05 GB, free: 6.438 MB / 0.698 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.002907/0.4983, allocations: 1.278 MB / 1.051 GB, free: 5.105 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4984, allocations: 8.031 kB / 1.051 GB, free: 5.098 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004153/0.4988, allocations: 130.4 kB / 1.051 GB, free: 4.969 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.5002, allocations: 0.649 MB / 1.052 GB, free: 4.277 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-05/0.5003, allocations: 74 kB / 1.052 GB, free: 4.207 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/0.5005, allocations: 103.9 kB / 1.052 GB, free: 4.105 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.5023, allocations: 0.9709 MB / 1.053 GB, free: 3.086 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.5024, allocations: 3.938 kB / 1.053 GB, free: 3.082 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.5025, allocations: 44 kB / 1.053 GB, free: 3.039 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.5025, allocations: 28 kB / 1.053 GB, free: 3.012 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.504, allocations: 0.7104 MB / 1.054 GB, free: 2.305 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4592/0.9633, allocations: 3.399 MB / 1.057 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.9647, allocations: 0.7514 MB / 1.058 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.656e-05/0.9647, allocations: 8.844 kB / 1.058 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006244/0.9654, allocations: 379.9 kB / 1.058 GB, free: 141.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.544e-06/0.9654, allocations: 0 / 1.058 GB, free: 141.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.001562/0.9669, allocations: 0.9065 MB / 1.059 GB, free: 141.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.967, allocations: 167.3 kB / 1.059 GB, free: 141.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006262/0.9676, allocations: 0.5968 MB / 1.06 GB, free: 141 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.9677, allocations: 42.39 kB / 1.06 GB, free: 140.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.968, allocations: 473.7 kB / 1.06 GB, free: 140.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.9681, allocations: 262.2 kB / 1.06 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.9681, allocations: 14.75 kB / 1.06 GB, free: 140.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.269e-05/0.9682, allocations: 336.8 kB / 1.061 GB, free: 140.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/0.9687, allocations: 258.6 kB / 1.061 GB, free: 140.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005037/0.9692, allocations: 389.2 kB / 1.061 GB, free: 140.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004673/0.9697, allocations: 296.3 kB / 1.062 GB, free: 140.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9697, allocations: 0 / 1.062 GB, free: 140.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001158/0.9708, allocations: 0.7744 MB / 1.062 GB, free: 140.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.103e-05/0.9709, allocations: 457.4 kB / 1.063 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.9709, allocations: 2.688 kB / 1.063 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.971, allocations: 5.031 kB / 1.063 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/0.9716, allocations: 167.6 kB / 1.063 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.9716, allocations: 4.656 kB / 1.063 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003859/0.972, allocations: 116.3 kB / 1.063 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.972, allocations: 25.22 kB / 1.063 GB, free: 139.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.583e-06/0.972, allocations: 5.812 kB / 1.063 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007021/0.9727, allocations: 0.5506 MB / 1.064 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.9727, allocations: 0 / 1.064 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.801e-06/0.9728, allocations: 5.781 kB / 1.064 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004476/0.9732, allocations: 137.8 kB / 1.064 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.9732, allocations: 8.984 kB / 1.064 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.9735, allocations: 87.39 kB / 1.064 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.9735, allocations: 19.09 kB / 1.064 GB, free: 139.6 MB / 0.698 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 () * Number of clocked 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.0003683/0.9739, allocations: 311 kB / 1.064 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.279e-05/0.974, allocations: 92.56 kB / 1.064 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.9742, allocations: 94.41 kB / 1.064 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.9742, allocations: 6.641 kB / 1.064 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/0.9742, allocations: 0 / 1.064 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.9742, allocations: 7.875 kB / 1.064 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/0.9769, allocations: 1.712 MB / 1.066 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.9769, allocations: 0.6562 kB / 1.066 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006435/0.9775, allocations: 143.5 kB / 1.066 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.9775, allocations: 3.031 kB / 1.066 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.51e-05/0.9776, allocations: 19.64 kB / 1.066 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.9776, allocations: 2.875 kB / 1.066 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.9776, allocations: 0.5156 kB / 1.066 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.9796, allocations: 1.138 MB / 1.067 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.9798, allocations: 173.9 kB / 1.068 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.256e-05/0.9799, allocations: 13.39 kB / 1.068 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.9802, allocations: 59.33 kB / 1.068 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.9804, allocations: 44.92 kB / 1.068 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.607e-05/0.9804, allocations: 20.31 kB / 1.068 GB, free: 138.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006434/0.9811, allocations: 473.8 kB / 1.068 GB, free: 138.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9811, allocations: 0 / 1.068 GB, free: 138.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008214/0.9819, allocations: 326.4 kB / 1.068 GB, free: 138.5 MB / 0.698 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 () * Number of clocked 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.0001991/0.9821, allocations: 136.2 kB / 1.069 GB, free: 138.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001813/0.9839, allocations: 0.9446 MB / 1.07 GB, free: 138.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.9839, allocations: 0 / 1.07 GB, free: 138.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000616/0.9846, allocations: 341.5 kB / 1.07 GB, free: 138.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008678/0.9854, allocations: 194.8 kB / 1.07 GB, free: 138.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.9884, allocations: 2.036 MB / 1.072 GB, free: 137.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006182/0.989, allocations: 1.05 MB / 1.073 GB, free: 136.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004451/0.9895, allocations: 102.6 kB / 1.073 GB, free: 136.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.9897, allocations: 62.5 kB / 1.073 GB, free: 136.5 MB / 0.698 GB Notification: Performance of SimCode: time 8.52e-07/0.9897, allocations: 0 / 1.073 GB, free: 136.5 MB / 0.698 GB Notification: Performance of Templates: time 0.01793/1.008, allocations: 7.937 MB / 1.081 GB, free: 136.1 MB / 0.698 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