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.373/2.373, allocations: 390.3 MB / 402.8 MB, free: 6.723 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.00157/0.00157, allocations: 184.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.885/1.885, allocations: 221.3 MB / 0.7915 GB, free: 5.359 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.001147/0.001147, allocations: 87.95 kB / 0.9317 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.892e-05/4.909e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4156, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9641/1.38, allocations: 155.1 MB / 1.37 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/1.38, allocations: 86.69 kB / 1.37 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.04571/1.426, allocations: 17.4 MB / 1.387 GB, free: 36 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.433e-06/1.426, allocations: 11.94 kB / 1.387 GB, free: 24 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001038/1.426, allocations: 23.94 kB / 1.387 GB, free: 0 / 0.8386 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.002276/1.428, allocations: 1.051 MB / 1.388 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.428, allocations: 8.031 kB / 1.388 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000399/1.429, allocations: 122.6 kB / 1.389 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/1.43, allocations: 0.5873 MB / 1.389 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.52e-05/1.43, allocations: 74.94 kB / 1.389 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/1.43, allocations: 99.38 kB / 1.389 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/1.432, allocations: 0.8396 MB / 1.39 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/1.432, allocations: 0 / 1.39 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/1.432, allocations: 42.3 kB / 1.39 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/1.432, allocations: 24 kB / 1.39 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/1.433, allocations: 0.5648 MB / 1.391 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004486/1.438, allocations: 2.678 MB / 1.393 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009196/1.439, allocations: 0.6137 MB / 1.394 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000488/1.439, allocations: 371.6 kB / 1.394 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/1.439, allocations: 8.781 kB / 1.394 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005537/1.44, allocations: 325.7 kB / 1.395 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=77): time 3.196e-06/1.44, allocations: 3.938 kB / 1.395 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of matching and sorting (n=77): time 0.0009467/1.441, allocations: 0.5425 MB / 1.395 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.498e-05/1.441, allocations: 163 kB / 1.395 GB, free: 9.613 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000694/1.442, allocations: 0.5397 MB / 1.396 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.752e-05/1.442, allocations: 49.02 kB / 1.396 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/1.442, allocations: 423 kB / 1.396 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/1.442, allocations: 259.2 kB / 1.397 GB, free: 8.652 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/1.442, allocations: 14.25 kB / 1.397 GB, free: 8.648 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.442, allocations: 335.1 kB / 1.397 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003164/1.443, allocations: 189.3 kB / 1.397 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/1.443, allocations: 304 kB / 1.397 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/1.443, allocations: 225.1 kB / 1.398 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.444, allocations: 4 kB / 1.398 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009266/1.444, allocations: 0.6162 MB / 1.398 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/1.445, allocations: 188.5 kB / 1.398 GB, free: 7.188 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.445, allocations: 0 / 1.398 GB, free: 7.188 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/1.445, allocations: 4 kB / 1.398 GB, free: 7.184 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006142/1.445, allocations: 166 kB / 1.398 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.028e-05/1.445, allocations: 7.984 kB / 1.398 GB, free: 7.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004798/1.446, allocations: 114.2 kB / 1.399 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/1.446, allocations: 18.19 kB / 1.399 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/1.446, allocations: 4 kB / 1.399 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007721/1.447, allocations: 0.5042 MB / 1.399 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/1.447, allocations: 0 / 1.399 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.446e-06/1.447, allocations: 4 kB / 1.399 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004804/1.447, allocations: 130.5 kB / 1.399 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/1.447, allocations: 4 kB / 1.399 GB, free: 6.438 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003776/1.447, allocations: 97 kB / 1.399 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/1.448, allocations: 22.81 kB / 1.399 GB, free: 6.34 MB / 0.8542 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 () * 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.0001792/1.448, allocations: 142.6 kB / 1.399 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/1.448, allocations: 82.97 kB / 1.4 GB, free: 6.133 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/1.448, allocations: 95.89 kB / 1.4 GB, free: 6.082 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/1.448, allocations: 8 kB / 1.4 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/1.448, allocations: 0 / 1.4 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/1.448, allocations: 11.94 kB / 1.4 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/1.45, allocations: 1.547 MB / 1.401 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/1.45, allocations: 7.922 kB / 1.401 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006146/1.451, allocations: 139.8 kB / 1.401 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.464e-05/1.451, allocations: 4 kB / 1.401 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-05/1.451, allocations: 25.67 kB / 1.401 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/1.451, allocations: 3.953 kB / 1.401 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.451, allocations: 0 / 1.401 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/1.452, allocations: 0.9406 MB / 1.402 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/1.453, allocations: 170.1 kB / 1.402 GB, free: 3.883 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.52e-05/1.453, allocations: 14.06 kB / 1.402 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/1.453, allocations: 58.52 kB / 1.403 GB, free: 3.832 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.863e-05/1.453, allocations: 43.8 kB / 1.403 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-05/1.453, allocations: 22.06 kB / 1.403 GB, free: 3.777 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005134/1.454, allocations: 425.7 kB / 1.403 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.4e-07/1.454, allocations: 0 / 1.403 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007417/1.454, allocations: 315.9 kB / 1.403 GB, free: 3.191 MB / 0.8542 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 () * 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.0002192/1.455, allocations: 138 kB / 1.403 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001341/1.456, allocations: 0.8219 MB / 1.404 GB, free: 2.484 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/1.456, allocations: 0 / 1.404 GB, free: 2.484 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004736/1.456, allocations: 282 kB / 1.404 GB, free: 2.289 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007558/1.457, allocations: 147 kB / 1.405 GB, free: 2.188 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/1.46, allocations: 1.211 MB / 1.406 GB, free: 1.113 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008049/1.461, allocations: 1.019 MB / 1.407 GB, free: 64 kB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000611/1.461, allocations: 128.8 kB / 1.407 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/1.461, allocations: 47.44 kB / 1.407 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of SimCode: time 7.91e-07/1.461, allocations: 3.938 kB / 1.407 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of Templates: time 0.01894/1.48, allocations: 8.243 MB / 1.415 GB, free: 7.734 MB / 0.8698 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