Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.271/2.271, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001252/0.001253, allocations: 189 kB / 498.1 MB, free: 5.719 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.537/1.537, allocations: 223.2 MB / 0.7949 GB, free: 17.89 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.0009187/0.0009188, allocations: 98.75 kB / 0.9346 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004233/0.0004233, allocations: 11.16 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.319, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1965/0.5156, allocations: 154.4 MB / 1.374 GB, free: 7.59 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/0.5159, allocations: 91.92 kB / 1.374 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04133/0.5573, allocations: 17.42 MB / 1.391 GB, free: 6.047 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5573, allocations: 0 / 1.391 GB, free: 6.047 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.707e-05/0.5574, allocations: 20 kB / 1.391 GB, free: 6.027 MB / 0.8855 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.001979/0.5594, allocations: 1.188 MB / 1.392 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.5594, allocations: 8.031 kB / 1.392 GB, free: 4.777 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.5596, allocations: 122.5 kB / 1.392 GB, free: 4.656 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009265/0.5606, allocations: 0.5938 MB / 1.393 GB, free: 4.023 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.243e-05/0.5606, allocations: 77.94 kB / 1.393 GB, free: 3.945 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.5608, allocations: 107.8 kB / 1.393 GB, free: 3.84 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.5623, allocations: 0.9018 MB / 1.394 GB, free: 2.918 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.5623, allocations: 0 / 1.394 GB, free: 2.918 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.756e-05/0.5624, allocations: 40 kB / 1.394 GB, free: 2.879 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.5624, allocations: 28 kB / 1.394 GB, free: 2.852 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.5637, allocations: 0.687 MB / 1.394 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003767/0.5675, allocations: 2.672 MB / 1.397 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.5688, allocations: 0.7354 MB / 1.398 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.28e-05/0.5688, allocations: 8.656 kB / 1.398 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008247/0.5697, allocations: 380.3 kB / 1.398 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=77): time 4.178e-06/0.5697, allocations: 0 / 1.398 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of matching and sorting (n=77): time 0.001698/0.5714, allocations: 0.8919 MB / 1.399 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.5715, allocations: 166.9 kB / 1.399 GB, free: 13.19 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006934/0.5722, allocations: 0.5386 MB / 1.4 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.747e-05/0.5723, allocations: 41.7 kB / 1.4 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.5726, allocations: 428.2 kB / 1.4 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.5728, allocations: 260.1 kB / 1.4 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.5729, allocations: 20 kB / 1.4 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.573, allocations: 330 kB / 1.401 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004682/0.5735, allocations: 249.9 kB / 1.401 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005642/0.5741, allocations: 371.4 kB / 1.401 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005265/0.5746, allocations: 287 kB / 1.402 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.5746, allocations: 0 / 1.402 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001251/0.5759, allocations: 0.7386 MB / 1.402 GB, free: 9.902 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.000147/0.576, allocations: 190 kB / 1.403 GB, free: 9.707 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.5761, allocations: 0 / 1.403 GB, free: 9.707 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/0.5761, allocations: 4 kB / 1.403 GB, free: 9.703 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006056/0.5767, allocations: 163.8 kB / 1.403 GB, free: 9.543 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.5767, allocations: 0 / 1.403 GB, free: 9.543 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/0.5771, allocations: 111.3 kB / 1.403 GB, free: 9.434 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.5772, allocations: 31.92 kB / 1.403 GB, free: 9.402 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.5772, allocations: 4 kB / 1.403 GB, free: 9.398 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008077/0.578, allocations: 0.5116 MB / 1.403 GB, free: 8.887 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.5781, allocations: 0 / 1.403 GB, free: 8.887 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.328e-06/0.5781, allocations: 4 kB / 1.403 GB, free: 8.883 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.5785, allocations: 139.8 kB / 1.403 GB, free: 8.746 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.5785, allocations: 8.031 kB / 1.403 GB, free: 8.738 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.5788, allocations: 87.3 kB / 1.404 GB, free: 8.652 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.5789, allocations: 20 kB / 1.404 GB, free: 8.633 MB / 0.9011 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.0005092/0.5794, allocations: 297 kB / 1.404 GB, free: 8.332 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.5795, allocations: 78.97 kB / 1.404 GB, free: 8.254 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.5797, allocations: 96.14 kB / 1.404 GB, free: 8.156 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.5797, allocations: 4 kB / 1.404 GB, free: 8.152 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.5797, allocations: 4 kB / 1.404 GB, free: 8.148 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.5797, allocations: 7.938 kB / 1.404 GB, free: 8.141 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/0.5822, allocations: 1.652 MB / 1.406 GB, free: 6.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5823, allocations: 0 / 1.406 GB, free: 6.43 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000584/0.5828, allocations: 143.8 kB / 1.406 GB, free: 6.289 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.5829, allocations: 4 kB / 1.406 GB, free: 6.285 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/0.5829, allocations: 16 kB / 1.406 GB, free: 6.27 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-06/0.5829, allocations: 8.031 kB / 1.406 GB, free: 6.262 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.5829, allocations: 7.984 kB / 1.406 GB, free: 6.254 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.5848, allocations: 1.112 MB / 1.407 GB, free: 5.125 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.585, allocations: 156 kB / 1.407 GB, free: 4.953 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.729e-05/0.585, allocations: 20 kB / 1.407 GB, free: 4.934 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.5854, allocations: 59.95 kB / 1.407 GB, free: 4.875 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.353e-05/0.5855, allocations: 48.58 kB / 1.407 GB, free: 4.828 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.5855, allocations: 19.98 kB / 1.407 GB, free: 4.809 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005674/0.5861, allocations: 435.1 kB / 1.408 GB, free: 4.387 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5861, allocations: 3.938 kB / 1.408 GB, free: 4.383 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008106/0.5869, allocations: 322.5 kB / 1.408 GB, free: 4.066 MB / 0.9011 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.000254/0.5872, allocations: 136.5 kB / 1.408 GB, free: 3.922 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001637/0.5889, allocations: 0.9075 MB / 1.409 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.5889, allocations: 7.938 kB / 1.409 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005433/0.5894, allocations: 335.7 kB / 1.409 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006833/0.5901, allocations: 146.6 kB / 1.409 GB, free: 2.543 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.5929, allocations: 1.932 MB / 1.411 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006588/0.5936, allocations: 1.017 MB / 1.412 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003632/0.594, allocations: 85.77 kB / 1.412 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.5942, allocations: 59.42 kB / 1.412 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of SimCode: time 1.273e-06/0.5942, allocations: 0 / 1.412 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of Templates: time 0.01399/0.6082, allocations: 7.205 MB / 1.419 GB, free: 8.258 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches