Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.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_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.441/2.441, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001067/0.001067, allocations: 164.9 kB / 487.4 MB, free: 5.062 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.8/1.8, allocations: 221.5 MB / 0.7824 GB, free: 0.9453 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.0009357/0.000936, allocations: 99.83 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.663e-05/2.667e-05, allocations: 12 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.319, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.099/1.418, allocations: 150.2 MB / 1.353 GB, free: 18.49 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/1.418, allocations: 74.67 kB / 1.353 GB, free: 18.49 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03333/1.452, allocations: 13.7 MB / 1.366 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.593e-06/1.452, allocations: 0 / 1.366 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.755e-05/1.452, allocations: 27.38 kB / 1.366 GB, free: 33.34 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.001563/1.453, allocations: 1.01 MB / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/1.453, allocations: 10.33 kB / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/1.454, allocations: 111.8 kB / 1.367 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006615/1.454, allocations: 0.5348 MB / 1.368 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/1.454, allocations: 30.88 kB / 1.368 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-05/1.454, allocations: 53.66 kB / 1.368 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008324/1.455, allocations: 494.5 kB / 1.368 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/1.456, allocations: 0.6874 MB / 1.369 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/1.456, allocations: 0 / 1.369 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.632e-05/1.456, allocations: 6.828 kB / 1.369 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/1.456, allocations: 23.03 kB / 1.369 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003315/1.46, allocations: 2.442 MB / 1.371 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008049/1.461, allocations: 1.212 MB / 1.373 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003443/1.461, allocations: 327.9 kB / 1.373 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.4e-05/1.461, allocations: 19.39 kB / 1.373 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004097/1.461, allocations: 295 kB / 1.373 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=77): time 2.986e-06/1.461, allocations: 3.875 kB / 1.373 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=77): time 0.0007054/1.462, allocations: 0.4904 MB / 1.374 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/1.462, allocations: 165.1 kB / 1.374 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/1.463, allocations: 394.3 kB / 1.374 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.07e-05/1.463, allocations: 34.73 kB / 1.374 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/1.463, allocations: 387.5 kB / 1.375 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/1.463, allocations: 252.6 kB / 1.375 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/1.463, allocations: 0 / 1.375 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.463, allocations: 378.6 kB / 1.375 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/1.464, allocations: 177 kB / 1.375 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/1.464, allocations: 277.7 kB / 1.376 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/1.464, allocations: 211.5 kB / 1.376 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.464, allocations: 0 / 1.376 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0006603/1.465, allocations: 0.5471 MB / 1.376 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/1.465, allocations: 183.1 kB / 1.377 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/1.465, allocations: 3.938 kB / 1.377 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.465, allocations: 7.875 kB / 1.377 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/1.466, allocations: 162.4 kB / 1.377 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.466, allocations: 3.844 kB / 1.377 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/1.466, allocations: 89.52 kB / 1.377 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/1.466, allocations: 25.22 kB / 1.377 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.635e-06/1.466, allocations: 3.719 kB / 1.377 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005393/1.467, allocations: 436 kB / 1.377 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/1.467, allocations: 0 / 1.377 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.139e-06/1.467, allocations: 8 kB / 1.377 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/1.467, allocations: 137.1 kB / 1.377 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/1.467, allocations: 3.625 kB / 1.377 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/1.467, allocations: 59.42 kB / 1.377 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/1.467, allocations: 18.94 kB / 1.377 GB, free: 29.02 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.0002085/1.468, allocations: 126.5 kB / 1.378 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/1.468, allocations: 66.14 kB / 1.378 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008454/1.469, allocations: 0.5191 MB / 1.378 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/1.469, allocations: 7.688 kB / 1.378 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.469, allocations: 0 / 1.378 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/1.469, allocations: 2.531 kB / 1.378 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/1.47, allocations: 1.475 MB / 1.38 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/1.471, allocations: 3.844 kB / 1.38 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005527/1.471, allocations: 146.4 kB / 1.38 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/1.471, allocations: 3.844 kB / 1.38 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/1.471, allocations: 14.44 kB / 1.38 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/1.471, allocations: 4.031 kB / 1.38 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.471, allocations: 4 kB / 1.38 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/1.472, allocations: 0.9774 MB / 1.381 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.072e-05/1.472, allocations: 157.9 kB / 1.381 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.265e-05/1.472, allocations: 3.875 kB / 1.381 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/1.473, allocations: 46.64 kB / 1.381 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/1.473, allocations: 50.58 kB / 1.381 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/1.473, allocations: 25.39 kB / 1.381 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002768/1.473, allocations: 310.2 kB / 1.381 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.41e-07/1.473, allocations: 3.938 kB / 1.381 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006056/1.474, allocations: 267.2 kB / 1.382 GB, free: 27.65 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.0001932/1.474, allocations: 126.9 kB / 1.382 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008967/1.475, allocations: 0.7487 MB / 1.382 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.475, allocations: 0 / 1.382 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002642/1.475, allocations: 261.6 kB / 1.383 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006307/1.476, allocations: 114.5 kB / 1.383 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/1.477, allocations: 1.144 MB / 1.384 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/1.478, allocations: 0.996 MB / 1.385 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004243/1.478, allocations: 109.1 kB / 1.385 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/1.478, allocations: 45.09 kB / 1.385 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/1.478, allocations: 3.969 kB / 1.385 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of Templates: time 0.0109/1.489, allocations: 6.831 MB / 1.392 GB, free: 22.77 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches