Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,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.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,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.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.209/2.209, allocations: 390.5 MB / 398 MB, free: 10.98 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.001079/0.001079, allocations: 188.2 kB / 491.2 MB, free: 1.609 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.603/1.603, allocations: 221.5 MB / 0.7868 GB, free: 13.35 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.001379/0.001379, allocations: 87.89 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.493e-05/2.538e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3519, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.061/1.413, allocations: 151 MB / 1.36 GB, free: 17.66 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/1.414, allocations: 78.59 kB / 1.36 GB, free: 17.65 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0312/1.445, allocations: 13.7 MB / 1.373 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.232e-06/1.445, allocations: 0 / 1.373 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.007e-05/1.445, allocations: 19.44 kB / 1.373 GB, free: 32.51 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001364/1.446, allocations: 1.013 MB / 1.374 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/1.446, allocations: 11.59 kB / 1.374 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/1.446, allocations: 112.6 kB / 1.374 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006047/1.447, allocations: 0.5299 MB / 1.375 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/1.447, allocations: 30.88 kB / 1.375 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.94e-05/1.447, allocations: 56.98 kB / 1.375 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007551/1.448, allocations: 499.7 kB / 1.375 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009617/1.449, allocations: 0.6795 MB / 1.376 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/1.449, allocations: 0 / 1.376 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.577e-05/1.449, allocations: 9.328 kB / 1.376 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/1.449, allocations: 19.19 kB / 1.376 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003032/1.452, allocations: 2.449 MB / 1.379 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007444/1.453, allocations: 1.197 MB / 1.38 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003449/1.453, allocations: 342.8 kB / 1.38 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-05/1.453, allocations: 12.22 kB / 1.38 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003951/1.454, allocations: 295.5 kB / 1.38 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=77): time 2.194e-06/1.454, allocations: 0 / 1.38 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=77): time 0.0006419/1.454, allocations: 0.4928 MB / 1.381 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/1.454, allocations: 162.7 kB / 1.381 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/1.455, allocations: 400.8 kB / 1.381 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/1.455, allocations: 29.69 kB / 1.381 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/1.455, allocations: 393.9 kB / 1.382 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/1.455, allocations: 254.9 kB / 1.382 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/1.455, allocations: 0 / 1.382 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.455, allocations: 369.7 kB / 1.382 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/1.456, allocations: 178.9 kB / 1.383 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/1.456, allocations: 277.9 kB / 1.383 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/1.456, allocations: 214.4 kB / 1.383 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.456, allocations: 0 / 1.383 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0006176/1.457, allocations: 0.5459 MB / 1.384 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.793e-05/1.457, allocations: 185 kB / 1.384 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.457, allocations: 0 / 1.384 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/1.457, allocations: 3.812 kB / 1.384 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/1.457, allocations: 165.8 kB / 1.384 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/1.457, allocations: 7.812 kB / 1.384 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/1.458, allocations: 93.66 kB / 1.384 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/1.458, allocations: 29.83 kB / 1.384 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/1.458, allocations: 3.812 kB / 1.384 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005147/1.458, allocations: 437.2 kB / 1.384 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/1.458, allocations: 0 / 1.384 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.349e-06/1.458, allocations: 3.562 kB / 1.384 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000428/1.459, allocations: 135.2 kB / 1.385 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/1.459, allocations: 3.844 kB / 1.385 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/1.459, allocations: 62.41 kB / 1.385 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/1.459, allocations: 21.66 kB / 1.385 GB, free: 27.76 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 (87): * Single equations (assignments): 87 * 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.0001239/1.459, allocations: 120.6 kB / 1.385 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/1.459, allocations: 65.92 kB / 1.385 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006901/1.46, allocations: 0.5155 MB / 1.385 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/1.46, allocations: 7.5 kB / 1.385 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.46, allocations: 0 / 1.385 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.46, allocations: 3.984 kB / 1.385 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/1.462, allocations: 1.475 MB / 1.387 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.462, allocations: 3.938 kB / 1.387 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005375/1.462, allocations: 150.2 kB / 1.387 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/1.462, allocations: 8.125 kB / 1.387 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/1.462, allocations: 11.05 kB / 1.387 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/1.462, allocations: 3.906 kB / 1.387 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.462, allocations: 7.766 kB / 1.387 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000951/1.463, allocations: 0.9699 MB / 1.388 GB, free: 26.4 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/1.463, allocations: 157.8 kB / 1.388 GB, free: 26.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.347e-05/1.463, allocations: 7.844 kB / 1.388 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003301/1.464, allocations: 42.48 kB / 1.388 GB, free: 26.24 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.064e-05/1.464, allocations: 53.67 kB / 1.388 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/1.464, allocations: 26.33 kB / 1.388 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002735/1.464, allocations: 302.7 kB / 1.388 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.464, allocations: 0 / 1.388 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006186/1.465, allocations: 268.2 kB / 1.389 GB, free: 26.03 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.0001935/1.465, allocations: 125.8 kB / 1.389 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008534/1.466, allocations: 0.7516 MB / 1.39 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/1.466, allocations: 4.062 kB / 1.39 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002562/1.466, allocations: 271.4 kB / 1.39 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005942/1.467, allocations: 110.8 kB / 1.39 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/1.468, allocations: 1.136 MB / 1.391 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/1.469, allocations: 1.003 MB / 1.392 GB, free: 24.42 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004026/1.469, allocations: 109.5 kB / 1.392 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/1.469, allocations: 53.02 kB / 1.392 GB, free: 24.35 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.469, allocations: 0 / 1.392 GB, free: 24.35 MB / 0.8386 GB Notification: Performance of Templates: time 0.01044/1.48, allocations: 6.829 MB / 1.399 GB, free: 21.15 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches