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.43/1.43, allocations: 249.3 MB / 261.8 MB, free: 5.863 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.001093/0.001094, allocations: 184.6 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.344/1.344, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0008934/0.0008933, allocations: 94.47 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.16e-05/3.161e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1849, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6284/0.8134, allocations: 140.2 MB / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.8136, allocations: 84.42 kB / 1.029 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05403/0.8677, allocations: 19.88 MB / 1.048 GB, free: 9.965 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8678, allocations: 0 / 1.048 GB, free: 9.965 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001183/0.8679, allocations: 24 kB / 1.048 GB, free: 9.941 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.002178/0.8701, allocations: 1.081 MB / 1.049 GB, free: 8.875 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.8702, allocations: 8.031 kB / 1.049 GB, free: 8.867 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002684/0.8704, allocations: 126.4 kB / 1.049 GB, free: 8.742 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.8719, allocations: 0.7318 MB / 1.05 GB, free: 8.094 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.8721, allocations: 82.2 kB / 1.05 GB, free: 8.031 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.8722, allocations: 71.81 kB / 1.05 GB, free: 7.984 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.8735, allocations: 0.7216 MB / 1.051 GB, free: 7.441 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.8736, allocations: 7.953 kB / 1.051 GB, free: 7.434 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.075e-05/0.8736, allocations: 25.31 kB / 1.051 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/0.8737, allocations: 20 kB / 1.051 GB, free: 7.41 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008141/0.8745, allocations: 487.7 kB / 1.051 GB, free: 7.117 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003471/0.878, allocations: 2.348 MB / 1.054 GB, free: 5.199 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.8791, allocations: 0.6006 MB / 1.054 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.8794, allocations: 221.2 kB / 1.055 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.916e-05/0.8795, allocations: 16.22 kB / 1.055 GB, free: 4.66 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005551/0.88, allocations: 309.3 kB / 1.055 GB, free: 4.434 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=60): time 4.699e-06/0.88, allocations: 0 / 1.055 GB, free: 4.434 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60): time 0.0009449/0.881, allocations: 0.5215 MB / 1.055 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.8811, allocations: 137.1 kB / 1.055 GB, free: 3.879 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007981/0.8819, allocations: 0.6577 MB / 1.056 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.347e-05/0.882, allocations: 35.89 kB / 1.056 GB, free: 3.32 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.8823, allocations: 438 kB / 1.057 GB, free: 3.074 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.8825, allocations: 204.7 kB / 1.057 GB, free: 2.898 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.8825, allocations: 10.31 kB / 1.057 GB, free: 2.898 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.8826, allocations: 332.5 kB / 1.057 GB, free: 2.578 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.8829, allocations: 181.6 kB / 1.057 GB, free: 2.473 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003858/0.8833, allocations: 303.1 kB / 1.058 GB, free: 2.227 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.8837, allocations: 203.7 kB / 1.058 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.8837, allocations: 4 kB / 1.058 GB, free: 2.102 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009331/0.8846, allocations: 0.6125 MB / 1.058 GB, free: 1.645 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000382/0.885, allocations: 0.872 MB / 1.059 GB, free: 0.7227 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.885, allocations: 8 kB / 1.059 GB, free: 0.7148 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.559e-05/0.8851, allocations: 7.984 kB / 1.059 GB, free: 0.707 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008551/0.8859, allocations: 158 kB / 1.059 GB, free: 0.5586 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.886, allocations: 11.95 kB / 1.059 GB, free: 0.5469 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005288/0.8865, allocations: 84.59 kB / 1.059 GB, free: 484 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/0.8866, allocations: 22.98 kB / 1.059 GB, free: 464 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/0.8866, allocations: 4 kB / 1.059 GB, free: 460 kB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008496/0.8875, allocations: 0.4975 MB / 1.06 GB, free: 124 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.8875, allocations: 4.031 kB / 1.06 GB, free: 120 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.8875, allocations: 8 kB / 1.06 GB, free: 112 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007692/0.8883, allocations: 155.3 kB / 1.06 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.8883, allocations: 4 kB / 1.06 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.8887, allocations: 74.38 kB / 1.06 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/0.8888, allocations: 26.23 kB / 1.06 GB, free: 15.88 MB / 0.6823 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.0001836/0.889, allocations: 141.6 kB / 1.06 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.8892, allocations: 102.5 kB / 1.06 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.8894, allocations: 99.48 kB / 1.061 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.8894, allocations: 4 kB / 1.061 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/0.8894, allocations: 4 kB / 1.061 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.8895, allocations: 8.125 kB / 1.061 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.8914, allocations: 1.449 MB / 1.062 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.8914, allocations: 0 / 1.062 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005863/0.892, allocations: 111.6 kB / 1.062 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.892, allocations: 4 kB / 1.062 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.553e-05/0.8921, allocations: 14.19 kB / 1.062 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.8921, allocations: 0 / 1.062 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.8921, allocations: 0 / 1.062 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.8935, allocations: 0.9183 MB / 1.063 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/0.8937, allocations: 230 kB / 1.063 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.482e-05/0.8938, allocations: 14.81 kB / 1.063 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005104/0.8943, allocations: 54.7 kB / 1.063 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-05/0.8944, allocations: 32.2 kB / 1.063 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.975e-05/0.8945, allocations: 23.61 kB / 1.063 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005985/0.8951, allocations: 0.5086 MB / 1.064 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8951, allocations: 0 / 1.064 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007317/0.8958, allocations: 289.4 kB / 1.064 GB, free: 12.77 MB / 0.6823 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.0001719/0.896, allocations: 122.3 kB / 1.064 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001187/0.8972, allocations: 0.7845 MB / 1.065 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.8972, allocations: 5 kB / 1.065 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.8976, allocations: 249.8 kB / 1.065 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009756/0.8986, allocations: 225.4 kB / 1.065 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.9006, allocations: 1.18 MB / 1.067 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005105/0.9011, allocations: 1.023 MB / 1.068 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007571/0.9019, allocations: 169.9 kB / 1.068 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.9021, allocations: 51.19 kB / 1.068 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of SimCode: time 3.41e-07/0.9021, allocations: 0 / 1.068 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of Templates: time 0.01814/0.9202, allocations: 10.8 MB / 1.078 GB, free: 14.75 MB / 0.698 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