Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.502/1.502, allocations: 249.5 MB / 257 MB, free: 6.891 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.0009987/0.0009987, allocations: 174 kB / 316.3 MB, free: 3.289 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.426/1.426, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0008676/0.0008674, allocations: 86.48 kB / 0.6714 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.759e-05/1.758e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1904, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7604/0.9508, allocations: 140.4 MB / 1.022 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.9511, allocations: 86.38 kB / 1.022 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05109/1.002, allocations: 19.73 MB / 1.042 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.512e-06/1.002, allocations: 0 / 1.042 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.327e-05/1.002, allocations: 27.98 kB / 1.042 GB, free: 13.07 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001809/1.004, allocations: 1.073 MB / 1.043 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/1.004, allocations: 8.031 kB / 1.043 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002521/1.004, allocations: 134.1 kB / 1.043 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/1.006, allocations: 0.7239 MB / 1.044 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-05/1.006, allocations: 59.7 kB / 1.044 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.02e-05/1.006, allocations: 43.44 kB / 1.044 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007817/1.007, allocations: 452.5 kB / 1.044 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009561/1.008, allocations: 0.6286 MB / 1.045 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/1.008, allocations: 0 / 1.045 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.613e-05/1.008, allocations: 0 / 1.045 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/1.008, allocations: 16 kB / 1.045 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003096/1.011, allocations: 2.219 MB / 1.047 GB, free: 8.516 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009761/1.012, allocations: 0.5557 MB / 1.047 GB, free: 8.164 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/1.012, allocations: 212.5 kB / 1.048 GB, free: 8.039 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.409e-05/1.012, allocations: 4.562 kB / 1.048 GB, free: 8.035 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004772/1.013, allocations: 283.5 kB / 1.048 GB, free: 7.832 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=60): time 3.908e-06/1.013, allocations: 4.75 kB / 1.048 GB, free: 7.828 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60): time 0.0008489/1.014, allocations: 0.492 MB / 1.048 GB, free: 7.457 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.36e-05/1.014, allocations: 137.1 kB / 1.049 GB, free: 7.293 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000643/1.014, allocations: 0.5502 MB / 1.049 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.027e-05/1.014, allocations: 25.7 kB / 1.049 GB, free: 6.844 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/1.015, allocations: 451.5 kB / 1.05 GB, free: 6.57 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/1.015, allocations: 198.6 kB / 1.05 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/1.015, allocations: 0 / 1.05 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.015, allocations: 336.3 kB / 1.05 GB, free: 6.074 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/1.015, allocations: 174.6 kB / 1.05 GB, free: 5.98 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/1.016, allocations: 277.8 kB / 1.05 GB, free: 5.758 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/1.016, allocations: 201.4 kB / 1.051 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.016, allocations: 4 kB / 1.051 GB, free: 5.633 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008099/1.017, allocations: 0.55 MB / 1.051 GB, free: 5.219 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003588/1.017, allocations: 0.8812 MB / 1.052 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.017, allocations: 3.938 kB / 1.052 GB, free: 4.281 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/1.017, allocations: 8.094 kB / 1.052 GB, free: 4.273 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008372/1.018, allocations: 163.3 kB / 1.052 GB, free: 4.121 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/1.018, allocations: 8 kB / 1.052 GB, free: 4.113 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/1.019, allocations: 71.48 kB / 1.052 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/1.019, allocations: 19.38 kB / 1.052 GB, free: 4.027 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/1.019, allocations: 9.359 kB / 1.052 GB, free: 4.02 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006702/1.019, allocations: 446.8 kB / 1.053 GB, free: 3.727 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/1.019, allocations: 0 / 1.053 GB, free: 3.727 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/1.019, allocations: 8 kB / 1.053 GB, free: 3.719 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007386/1.02, allocations: 151.2 kB / 1.053 GB, free: 3.574 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/1.02, allocations: 4 kB / 1.053 GB, free: 3.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004546/1.021, allocations: 55.81 kB / 1.053 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/1.021, allocations: 26.67 kB / 1.053 GB, free: 3.496 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001544/1.021, allocations: 116.8 kB / 1.053 GB, free: 3.375 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/1.021, allocations: 90.92 kB / 1.053 GB, free: 3.285 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/1.021, allocations: 90.81 kB / 1.053 GB, free: 3.242 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/1.021, allocations: 12 kB / 1.053 GB, free: 3.23 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/1.021, allocations: 0 / 1.053 GB, free: 3.23 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/1.021, allocations: 3.984 kB / 1.053 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/1.023, allocations: 1.32 MB / 1.055 GB, free: 2.227 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.023, allocations: 0 / 1.055 GB, free: 2.227 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005743/1.023, allocations: 117.5 kB / 1.055 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/1.023, allocations: 3.938 kB / 1.055 GB, free: 2.113 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/1.024, allocations: 4 kB / 1.055 GB, free: 2.109 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/1.024, allocations: 4 kB / 1.055 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.024, allocations: 0 / 1.055 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/1.025, allocations: 0.8576 MB / 1.056 GB, free: 1.504 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/1.025, allocations: 227.5 kB / 1.056 GB, free: 1.301 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.422e-05/1.025, allocations: 11.94 kB / 1.056 GB, free: 1.289 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004858/1.026, allocations: 43.95 kB / 1.056 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.801e-05/1.026, allocations: 34.95 kB / 1.056 GB, free: 1.219 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.002e-05/1.026, allocations: 19.61 kB / 1.056 GB, free: 1.203 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004909/1.026, allocations: 434.9 kB / 1.056 GB, free: 0.8945 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.41e-07/1.026, allocations: 0 / 1.056 GB, free: 0.8945 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007677/1.027, allocations: 266.8 kB / 1.057 GB, free: 0.6328 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.0001941/1.027, allocations: 121.5 kB / 1.057 GB, free: 0.5039 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001058/1.028, allocations: 0.7323 MB / 1.057 GB, free: 32 kB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.028, allocations: 0 / 1.057 GB, free: 32 kB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003923/1.029, allocations: 242.3 kB / 1.058 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/1.03, allocations: 217.1 kB / 1.058 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/1.032, allocations: 1.132 MB / 1.059 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005777/1.032, allocations: 1.018 MB / 1.06 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007309/1.033, allocations: 169.1 kB / 1.06 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/1.033, allocations: 47.06 kB / 1.06 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/1.033, allocations: 0 / 1.06 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of Templates: time 0.01662/1.05, allocations: 9.713 MB / 1.07 GB, free: 3.828 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_Continuous_Validation_LimPIDReset.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches