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.408/1.408, allocations: 251.9 MB / 266.9 MB, free: 11 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.001242/0.001243, allocations: 184 kB / 326.5 MB, free: 2.234 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.934/1.934, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.0008178/0.0008177, allocations: 83.38 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003227, allocations: 9.438 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2297, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2078/0.4375, allocations: 140.2 MB / 1.037 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003747/0.438, allocations: 79.97 kB / 1.037 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5167/0.9547, allocations: 19.9 MB / 1.057 GB, free: 143.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.805e-06/0.9547, allocations: 1.312 kB / 1.057 GB, free: 143.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000152/0.9549, allocations: 26.91 kB / 1.057 GB, free: 143.3 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002616/0.9575, allocations: 1.248 MB / 1.058 GB, free: 142.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.9576, allocations: 8.719 kB / 1.058 GB, free: 142.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002324/0.9578, allocations: 125.6 kB / 1.058 GB, free: 142.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.9591, allocations: 0.7372 MB / 1.059 GB, free: 142.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.417e-05/0.9592, allocations: 83.89 kB / 1.059 GB, free: 142.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.609e-05/0.9593, allocations: 74.38 kB / 1.059 GB, free: 142.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.9605, allocations: 0.7749 MB / 1.06 GB, free: 142.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.9605, allocations: 3.953 kB / 1.06 GB, free: 142.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.892e-05/0.9606, allocations: 30.47 kB / 1.06 GB, free: 142.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.9606, allocations: 22.48 kB / 1.06 GB, free: 142.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.9617, allocations: 0.5654 MB / 1.06 GB, free: 142.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003355/0.965, allocations: 2.352 MB / 1.062 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.9665, allocations: 0.6977 MB / 1.063 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.253e-05/0.9666, allocations: 8.562 kB / 1.063 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007487/0.9673, allocations: 354.2 kB / 1.063 GB, free: 141.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 4.167e-06/0.9674, allocations: 0 / 1.063 GB, free: 141.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.001644/0.969, allocations: 0.8227 MB / 1.064 GB, free: 141.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.9691, allocations: 142 kB / 1.064 GB, free: 141 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008514/0.9699, allocations: 0.6575 MB / 1.065 GB, free: 140.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.309e-05/0.97, allocations: 41.78 kB / 1.065 GB, free: 140.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/0.9704, allocations: 442.7 kB / 1.066 GB, free: 140.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.9706, allocations: 202.4 kB / 1.066 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.9706, allocations: 10.84 kB / 1.066 GB, free: 140.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.9707, allocations: 334.5 kB / 1.066 GB, free: 140.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005171/0.9713, allocations: 222 kB / 1.066 GB, free: 140.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007281/0.972, allocations: 343.6 kB / 1.067 GB, free: 140.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006071/0.9726, allocations: 254.2 kB / 1.067 GB, free: 140.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.9726, allocations: 0.875 kB / 1.067 GB, free: 140.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00165/0.9743, allocations: 0.6957 MB / 1.067 GB, free: 140 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003139/0.9746, allocations: 0.8819 MB / 1.068 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.9746, allocations: 6.719 kB / 1.068 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.126e-05/0.9747, allocations: 9.703 kB / 1.068 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009741/0.9757, allocations: 155.9 kB / 1.069 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/0.9757, allocations: 11.25 kB / 1.069 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006021/0.9763, allocations: 90.47 kB / 1.069 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.127e-05/0.9764, allocations: 20.23 kB / 1.069 GB, free: 139.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.9764, allocations: 3.594 kB / 1.069 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00125/0.9776, allocations: 0.5559 MB / 1.069 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.9777, allocations: 2.703 kB / 1.069 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.9777, allocations: 5.344 kB / 1.069 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008552/0.9785, allocations: 159.5 kB / 1.069 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.9786, allocations: 5.906 kB / 1.069 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005756/0.9791, allocations: 75.77 kB / 1.069 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.447e-05/0.9792, allocations: 20.7 kB / 1.069 GB, free: 139 MB / 0.698 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 () * Number of clocked 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.0005304/0.9797, allocations: 308.8 kB / 1.07 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.9799, allocations: 91.78 kB / 1.07 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.9801, allocations: 101.5 kB / 1.07 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.9801, allocations: 6.5 kB / 1.07 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.9801, allocations: 0.875 kB / 1.07 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.956e-06/0.9802, allocations: 3.328 kB / 1.07 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/0.9831, allocations: 1.531 MB / 1.071 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.9831, allocations: 1.531 kB / 1.071 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/0.9837, allocations: 108.1 kB / 1.072 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/0.9837, allocations: 6.812 kB / 1.072 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.613e-05/0.9838, allocations: 15.94 kB / 1.072 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.9838, allocations: 6.531 kB / 1.072 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.9838, allocations: 1.531 kB / 1.072 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.9859, allocations: 1.046 MB / 1.073 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003757/0.9863, allocations: 233.7 kB / 1.073 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.9864, allocations: 11.22 kB / 1.073 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005424/0.9869, allocations: 54.75 kB / 1.073 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.9871, allocations: 41.41 kB / 1.073 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.185e-05/0.9871, allocations: 19.58 kB / 1.073 GB, free: 138 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009057/0.9881, allocations: 0.5152 MB / 1.073 GB, free: 137.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9881, allocations: 0 / 1.073 GB, free: 137.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001017/0.9891, allocations: 281.3 kB / 1.074 GB, free: 137.9 MB / 0.698 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 () * Number of clocked 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.0001934/0.9893, allocations: 122.2 kB / 1.074 GB, free: 137.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002016/0.9913, allocations: 0.8726 MB / 1.075 GB, free: 137.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.9913, allocations: 0.625 kB / 1.075 GB, free: 137.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006107/0.992, allocations: 296.3 kB / 1.075 GB, free: 137.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.9932, allocations: 228.2 kB / 1.075 GB, free: 137.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.9963, allocations: 1.826 MB / 1.077 GB, free: 136.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005677/0.9969, allocations: 1.014 MB / 1.078 GB, free: 136 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007306/0.9976, allocations: 120.1 kB / 1.078 GB, free: 136 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.9978, allocations: 59.16 kB / 1.078 GB, free: 136 MB / 0.698 GB Notification: Performance of SimCode: time 1.283e-06/0.9978, allocations: 0 / 1.078 GB, free: 136 MB / 0.698 GB Notification: Performance of Templates: time 0.01926/1.017, allocations: 9.121 MB / 1.087 GB, free: 135.5 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