Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPIDPar.u_s|limPIDPar.u_m|limPIDPar.y|limPIDInp.u_s|limPIDInp.u_m|limPIDInp.y|limPIPar.u_s|limPIPar.u_m|limPIPar.y|limPIInp.u_s|limPIInp.u_m|limPIInp.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.297/2.297, allocations: 393.5 MB / 408.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001234, allocations: 195.4 kB / 0.4902 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 223.1 MB / 0.7992 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009417/0.0009418, allocations: 109.5 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005318/0.0005318, allocations: 14.75 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3441, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1977/0.5418, allocations: 155.2 MB / 1.381 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.5421, allocations: 91.94 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04393/0.5861, allocations: 17.43 MB / 1.398 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5861, allocations: 0 / 1.398 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.779e-05/0.5862, allocations: 27.98 kB / 1.398 GB, free: 12.77 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002732/0.589, allocations: 1.184 MB / 1.399 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.589, allocations: 12.56 kB / 1.399 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004556/0.5895, allocations: 122.6 kB / 1.399 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.5909, allocations: 0.5899 MB / 1.4 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-05/0.591, allocations: 77.98 kB / 1.4 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002376/0.5913, allocations: 96 kB / 1.4 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.5933, allocations: 0.9018 MB / 1.401 GB, free: 9.676 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.5933, allocations: 7.938 kB / 1.401 GB, free: 9.668 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.5934, allocations: 43.98 kB / 1.401 GB, free: 9.625 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/0.5934, allocations: 24 kB / 1.401 GB, free: 9.602 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/0.5951, allocations: 0.6793 MB / 1.402 GB, free: 8.918 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004678/0.5998, allocations: 2.683 MB / 1.404 GB, free: 6.168 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.6011, allocations: 0.7312 MB / 1.405 GB, free: 5.426 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.798e-05/0.6011, allocations: 16.64 kB / 1.405 GB, free: 5.41 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007567/0.6019, allocations: 376.3 kB / 1.405 GB, free: 5.031 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=77): time 3.386e-06/0.6019, allocations: 0 / 1.405 GB, free: 5.031 MB / 0.9011 GB Notification: Performance of matching and sorting (n=77): time 0.001628/0.6036, allocations: 0.8835 MB / 1.406 GB, free: 4.141 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/0.6037, allocations: 162.9 kB / 1.406 GB, free: 3.945 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006399/0.6043, allocations: 0.5425 MB / 1.407 GB, free: 3.398 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.203e-05/0.6044, allocations: 45.64 kB / 1.407 GB, free: 3.348 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/0.6047, allocations: 432.2 kB / 1.407 GB, free: 2.918 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.6049, allocations: 256.1 kB / 1.408 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.6049, allocations: 12 kB / 1.408 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.605, allocations: 341.9 kB / 1.408 GB, free: 2.312 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004758/0.6055, allocations: 249.9 kB / 1.408 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/0.6061, allocations: 359.4 kB / 1.408 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005047/0.6066, allocations: 286.9 kB / 1.409 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6066, allocations: 3.938 kB / 1.409 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001248/0.6078, allocations: 0.731 MB / 1.409 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.386e-05/0.6079, allocations: 186 kB / 1.41 GB, free: 480 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.608, allocations: 0 / 1.41 GB, free: 480 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.608, allocations: 8 kB / 1.41 GB, free: 472 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006004/0.6086, allocations: 175.7 kB / 1.41 GB, free: 296 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.6086, allocations: 4 kB / 1.41 GB, free: 292 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/0.609, allocations: 111.2 kB / 1.41 GB, free: 180 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/0.609, allocations: 20 kB / 1.41 GB, free: 160 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.609, allocations: 4 kB / 1.41 GB, free: 156 kB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000805/0.6099, allocations: 0.5233 MB / 1.41 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.6099, allocations: 0 / 1.41 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.45e-06/0.6099, allocations: 4 kB / 1.41 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/0.6103, allocations: 135.8 kB / 1.411 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.6104, allocations: 8.031 kB / 1.411 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.6106, allocations: 79.36 kB / 1.411 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.6107, allocations: 20 kB / 1.411 GB, free: 15.38 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0004772/0.6112, allocations: 297.7 kB / 1.411 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.6113, allocations: 82.95 kB / 1.411 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.6115, allocations: 96.16 kB / 1.411 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.6115, allocations: 11.98 kB / 1.411 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.6115, allocations: 0 / 1.411 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.6115, allocations: 7.938 kB / 1.411 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.614, allocations: 1.655 MB / 1.413 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.614, allocations: 0 / 1.413 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005919/0.6146, allocations: 143.8 kB / 1.413 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.6146, allocations: 0 / 1.413 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.6147, allocations: 16 kB / 1.413 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/0.6147, allocations: 7.953 kB / 1.413 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6147, allocations: 4 kB / 1.413 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.6164, allocations: 1.108 MB / 1.414 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.6166, allocations: 171.9 kB / 1.414 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.12e-05/0.6166, allocations: 12 kB / 1.414 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/0.617, allocations: 55.97 kB / 1.414 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.6171, allocations: 44.55 kB / 1.414 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-05/0.6171, allocations: 27.98 kB / 1.414 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005039/0.6176, allocations: 435.1 kB / 1.415 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6176, allocations: 0 / 1.415 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007386/0.6184, allocations: 322.6 kB / 1.415 GB, free: 10.82 MB / 0.9167 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: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * 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.0002272/0.6186, allocations: 132 kB / 1.415 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001647/0.6203, allocations: 0.9154 MB / 1.416 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.6203, allocations: 0 / 1.416 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005766/0.6209, allocations: 339.6 kB / 1.416 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007653/0.6216, allocations: 144.6 kB / 1.416 GB, free: 9.301 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/0.6247, allocations: 1.927 MB / 1.418 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005506/0.6253, allocations: 1.017 MB / 1.419 GB, free: 6.293 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004001/0.6257, allocations: 93.81 kB / 1.419 GB, free: 6.199 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.6259, allocations: 67.42 kB / 1.42 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of SimCode: time 1.333e-06/0.6259, allocations: 0 / 1.42 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of Templates: time 0.6031/1.229, allocations: 7.206 MB / 1.427 GB, free: 182.5 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches