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.036/2.036, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.0009589/0.0009589, allocations: 176.8 kB / 487.4 MB, free: 5.07 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.335/1.335, allocations: 221.5 MB / 0.7824 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000798/0.0007979, allocations: 94.66 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.471e-05/1.472e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2294, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7816/1.011, allocations: 153.7 MB / 1.356 GB, free: 18.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/1.011, allocations: 93.47 kB / 1.356 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03416/1.046, allocations: 17.28 MB / 1.373 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.042e-06/1.046, allocations: 0 / 1.373 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.119e-05/1.046, allocations: 34.64 kB / 1.373 GB, free: 32.21 MB / 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.00162/1.047, allocations: 1.049 MB / 1.374 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/1.047, allocations: 11.16 kB / 1.374 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/1.048, allocations: 120.1 kB / 1.374 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007871/1.048, allocations: 0.5957 MB / 1.375 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/1.048, allocations: 30.97 kB / 1.375 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-05/1.048, allocations: 58.16 kB / 1.375 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000794/1.049, allocations: 0.518 MB / 1.375 GB, free: 31 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000971/1.05, allocations: 0.6991 MB / 1.376 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/1.05, allocations: 0 / 1.376 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.305e-05/1.05, allocations: 3.984 kB / 1.376 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/1.05, allocations: 23.06 kB / 1.376 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002931/1.053, allocations: 2.496 MB / 1.378 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006355/1.054, allocations: 0.5799 MB / 1.379 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/1.054, allocations: 347.4 kB / 1.379 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/1.054, allocations: 16.45 kB / 1.379 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003779/1.055, allocations: 287.7 kB / 1.38 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=77): time 1.823e-06/1.055, allocations: 0 / 1.38 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=77): time 0.0006199/1.055, allocations: 0.5068 MB / 1.38 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/1.055, allocations: 162.6 kB / 1.38 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003796/1.056, allocations: 436.5 kB / 1.381 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/1.056, allocations: 25.7 kB / 1.381 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/1.056, allocations: 431.8 kB / 1.381 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/1.056, allocations: 254.9 kB / 1.381 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/1.056, allocations: 0 / 1.381 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001414/1.056, allocations: 381.6 kB / 1.382 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/1.057, allocations: 177.9 kB / 1.382 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/1.057, allocations: 287.8 kB / 1.382 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/1.057, allocations: 213.7 kB / 1.382 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.057, allocations: 0 / 1.382 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006333/1.058, allocations: 0.5623 MB / 1.383 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.322e-05/1.058, allocations: 192.2 kB / 1.383 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.058, allocations: 0 / 1.383 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/1.058, allocations: 3.75 kB / 1.383 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/1.058, allocations: 162.4 kB / 1.383 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/1.058, allocations: 3.906 kB / 1.383 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/1.059, allocations: 89.48 kB / 1.383 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/1.059, allocations: 22.75 kB / 1.383 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/1.059, allocations: 7.906 kB / 1.383 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005121/1.059, allocations: 439.6 kB / 1.384 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/1.059, allocations: 3.812 kB / 1.384 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.342e-06/1.059, allocations: 3.906 kB / 1.384 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/1.06, allocations: 140 kB / 1.384 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/1.06, allocations: 3.875 kB / 1.384 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/1.06, allocations: 58.77 kB / 1.384 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/1.06, allocations: 22.88 kB / 1.384 GB, free: 27.43 MB / 0.8386 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.0001531/1.06, allocations: 129 kB / 1.384 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.101e-05/1.06, allocations: 70.16 kB / 1.384 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/1.06, allocations: 74.03 kB / 1.384 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/1.06, allocations: 7.812 kB / 1.384 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.06, allocations: 4 kB / 1.384 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/1.06, allocations: 3.984 kB / 1.384 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/1.062, allocations: 1.375 MB / 1.386 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/1.062, allocations: 0 / 1.386 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005614/1.063, allocations: 146 kB / 1.386 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/1.063, allocations: 3.875 kB / 1.386 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.453e-05/1.063, allocations: 11.55 kB / 1.386 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/1.063, allocations: 0 / 1.386 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.063, allocations: 4 kB / 1.386 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009303/1.064, allocations: 0.8871 MB / 1.387 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-05/1.064, allocations: 150.6 kB / 1.387 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.697e-05/1.064, allocations: 0 / 1.387 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/1.064, allocations: 46.5 kB / 1.387 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/1.064, allocations: 43.5 kB / 1.387 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/1.064, allocations: 30.45 kB / 1.387 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003019/1.064, allocations: 321.3 kB / 1.387 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.064, allocations: 0 / 1.387 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005996/1.065, allocations: 290.2 kB / 1.388 GB, free: 26.03 MB / 0.8386 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.0001623/1.065, allocations: 124 kB / 1.388 GB, free: 25.92 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009009/1.066, allocations: 0.7637 MB / 1.388 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/1.066, allocations: 0 / 1.388 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002795/1.066, allocations: 265.9 kB / 1.389 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006138/1.067, allocations: 135.2 kB / 1.389 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/1.069, allocations: 1.163 MB / 1.39 GB, free: 25.29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/1.069, allocations: 1.022 MB / 1.391 GB, free: 24.44 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004514/1.07, allocations: 115.1 kB / 1.391 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/1.07, allocations: 53.95 kB / 1.391 GB, free: 24.37 MB / 0.8386 GB Notification: Performance of SimCode: time 5.51e-07/1.07, allocations: 0 / 1.391 GB, free: 24.37 MB / 0.8386 GB Notification: Performance of Templates: time 0.01137/1.081, allocations: 7.287 MB / 1.398 GB, free: 20.93 MB / 0.8386 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