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.364/2.364, allocations: 390.5 MB / 398 MB, free: 11 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.001105/0.001105, allocations: 175.9 kB / 491.2 MB, free: 1.621 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.694/1.694, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.00103/0.00103, allocations: 91.83 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.373e-05/2.375e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3289, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.07/1.399, allocations: 154.5 MB / 1.363 GB, free: 17.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/1.399, allocations: 88.61 kB / 1.363 GB, free: 17.48 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03948/1.439, allocations: 17.27 MB / 1.38 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.753e-06/1.439, allocations: 3.938 kB / 1.38 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.652e-05/1.439, allocations: 23.22 kB / 1.38 GB, free: 30.39 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.001613/1.44, allocations: 1.055 MB / 1.381 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/1.44, allocations: 11.5 kB / 1.381 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/1.441, allocations: 120.7 kB / 1.381 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008971/1.442, allocations: 0.5848 MB / 1.382 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/1.442, allocations: 30.81 kB / 1.382 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-05/1.442, allocations: 65.02 kB / 1.382 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008943/1.443, allocations: 0.5105 MB / 1.382 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/1.444, allocations: 0.7074 MB / 1.383 GB, free: 29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/1.444, allocations: 4 kB / 1.383 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.475e-05/1.444, allocations: 0 / 1.383 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/1.444, allocations: 25.94 kB / 1.383 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003396/1.447, allocations: 2.496 MB / 1.386 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007756/1.448, allocations: 0.5803 MB / 1.386 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003876/1.448, allocations: 343.4 kB / 1.387 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.607e-05/1.448, allocations: 10.66 kB / 1.387 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004503/1.449, allocations: 294.9 kB / 1.387 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=77): time 2.765e-06/1.449, allocations: 4 kB / 1.387 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=77): time 0.000801/1.45, allocations: 0.4982 MB / 1.387 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/1.45, allocations: 174.4 kB / 1.387 GB, free: 27.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004755/1.45, allocations: 437.1 kB / 1.388 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/1.45, allocations: 28.33 kB / 1.388 GB, free: 27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/1.451, allocations: 428.6 kB / 1.388 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/1.451, allocations: 253 kB / 1.389 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/1.451, allocations: 0 / 1.389 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001802/1.451, allocations: 383.8 kB / 1.389 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/1.451, allocations: 176.2 kB / 1.389 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/1.452, allocations: 281.9 kB / 1.389 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/1.452, allocations: 220.3 kB / 1.39 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.452, allocations: 0 / 1.39 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007356/1.453, allocations: 0.5598 MB / 1.39 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000116/1.453, allocations: 184.8 kB / 1.39 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/1.453, allocations: 3.812 kB / 1.39 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/1.453, allocations: 7.75 kB / 1.39 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006203/1.453, allocations: 167 kB / 1.39 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/1.453, allocations: 7.906 kB / 1.39 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003741/1.454, allocations: 89.94 kB / 1.391 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/1.454, allocations: 19.31 kB / 1.391 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/1.454, allocations: 4.938 kB / 1.391 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005684/1.454, allocations: 444.1 kB / 1.391 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/1.454, allocations: 0 / 1.391 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-06/1.454, allocations: 3.906 kB / 1.391 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/1.455, allocations: 142.4 kB / 1.391 GB, free: 25.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/1.455, allocations: 3.844 kB / 1.391 GB, free: 25.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/1.455, allocations: 58.41 kB / 1.391 GB, free: 25.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/1.455, allocations: 20.34 kB / 1.391 GB, free: 25.6 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.0001502/1.455, allocations: 120.7 kB / 1.391 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.771e-05/1.455, allocations: 69.84 kB / 1.391 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/1.456, allocations: 74.28 kB / 1.391 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/1.456, allocations: 7.844 kB / 1.391 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/1.456, allocations: 0 / 1.391 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/1.456, allocations: 7.828 kB / 1.391 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/1.457, allocations: 1.378 MB / 1.393 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.457, allocations: 0 / 1.393 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000565/1.458, allocations: 146 kB / 1.393 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/1.458, allocations: 7.906 kB / 1.393 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/1.458, allocations: 6.719 kB / 1.393 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/1.458, allocations: 3.844 kB / 1.393 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.458, allocations: 4 kB / 1.393 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009845/1.459, allocations: 0.8922 MB / 1.394 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.209e-05/1.459, allocations: 152.1 kB / 1.394 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.865e-05/1.459, allocations: 3.844 kB / 1.394 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/1.459, allocations: 41.67 kB / 1.394 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/1.46, allocations: 46.69 kB / 1.394 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/1.46, allocations: 18.59 kB / 1.394 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003276/1.46, allocations: 331.5 kB / 1.394 GB, free: 24.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.21e-07/1.46, allocations: 96 / 1.394 GB, free: 24.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006286/1.461, allocations: 286.8 kB / 1.395 GB, free: 24.2 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.000175/1.461, allocations: 117.8 kB / 1.395 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009996/1.462, allocations: 0.7674 MB / 1.396 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.462, allocations: 4.062 kB / 1.396 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002877/1.462, allocations: 267.5 kB / 1.396 GB, free: 24.01 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006989/1.463, allocations: 129.9 kB / 1.396 GB, free: 23.97 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/1.465, allocations: 1.157 MB / 1.397 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00056/1.465, allocations: 1.018 MB / 1.398 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004914/1.466, allocations: 114.8 kB / 1.398 GB, free: 22.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/1.466, allocations: 49.28 kB / 1.398 GB, free: 22.54 MB / 0.8386 GB Notification: Performance of SimCode: time 8.72e-07/1.466, allocations: 3.938 kB / 1.398 GB, free: 22.54 MB / 0.8386 GB Notification: Performance of Templates: time 0.01338/1.479, allocations: 7.288 MB / 1.405 GB, free: 18.39 MB / 0.8386 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