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.284/2.284, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001006/0.001006, allocations: 187.3 kB / 492.3 MB, free: 0.6172 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.632/1.632, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.0009679/0.0009678, allocations: 94.75 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.659e-05/3.662e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3001, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.325, allocations: 150.9 MB / 1.36 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/1.326, allocations: 79.52 kB / 1.36 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03216/1.358, allocations: 13.8 MB / 1.373 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.425e-06/1.358, allocations: 4 kB / 1.373 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.739e-05/1.358, allocations: 19.47 kB / 1.373 GB, free: 33.87 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.001637/1.36, allocations: 1.021 MB / 1.374 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/1.36, allocations: 11.47 kB / 1.374 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/1.36, allocations: 108.6 kB / 1.374 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007598/1.361, allocations: 0.5288 MB / 1.375 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.729e-05/1.361, allocations: 81.64 kB / 1.375 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/1.361, allocations: 90.53 kB / 1.375 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/1.362, allocations: 0.8199 MB / 1.376 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/1.362, allocations: 0 / 1.376 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.773e-05/1.362, allocations: 39.78 kB / 1.376 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/1.362, allocations: 22.19 kB / 1.376 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008689/1.363, allocations: 0.5281 MB / 1.376 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00404/1.367, allocations: 2.632 MB / 1.379 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/1.369, allocations: 1.238 MB / 1.38 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005009/1.369, allocations: 362.5 kB / 1.381 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.998e-05/1.369, allocations: 16.41 kB / 1.381 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005668/1.37, allocations: 319.4 kB / 1.381 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=77): time 5.641e-06/1.37, allocations: 3.984 kB / 1.381 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=77): time 0.0008603/1.371, allocations: 0.5372 MB / 1.381 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.409e-05/1.371, allocations: 162.5 kB / 1.382 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005884/1.371, allocations: 0.5116 MB / 1.382 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/1.372, allocations: 42.14 kB / 1.382 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/1.372, allocations: 383.4 kB / 1.383 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/1.372, allocations: 267.4 kB / 1.383 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/1.372, allocations: 13.56 kB / 1.383 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.372, allocations: 388.4 kB / 1.383 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/1.372, allocations: 192.4 kB / 1.383 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/1.373, allocations: 294.1 kB / 1.384 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/1.373, allocations: 220.5 kB / 1.384 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/1.373, allocations: 0 / 1.384 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0008602/1.374, allocations: 0.5991 MB / 1.384 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/1.374, allocations: 184.6 kB / 1.385 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/1.374, allocations: 0 / 1.385 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/1.374, allocations: 3.875 kB / 1.385 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006192/1.375, allocations: 165.2 kB / 1.385 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/1.375, allocations: 7.953 kB / 1.385 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003863/1.375, allocations: 112.1 kB / 1.385 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/1.375, allocations: 21.25 kB / 1.385 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.854e-06/1.375, allocations: 3.844 kB / 1.385 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006236/1.376, allocations: 0.4917 MB / 1.385 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-06/1.376, allocations: 0 / 1.385 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.169e-06/1.376, allocations: 3.688 kB / 1.385 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004342/1.376, allocations: 134.5 kB / 1.386 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/1.376, allocations: 7.781 kB / 1.386 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/1.377, allocations: 94.19 kB / 1.386 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/1.377, allocations: 18.78 kB / 1.386 GB, free: 28.65 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.0001398/1.377, allocations: 150.6 kB / 1.386 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/1.377, allocations: 76.98 kB / 1.386 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008058/1.378, allocations: 0.5835 MB / 1.386 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/1.378, allocations: 7.719 kB / 1.386 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.378, allocations: 0 / 1.386 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/1.378, allocations: 3.984 kB / 1.386 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/1.38, allocations: 1.648 MB / 1.388 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/1.38, allocations: 0 / 1.388 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005451/1.38, allocations: 148.2 kB / 1.388 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/1.38, allocations: 4.031 kB / 1.388 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.002e-05/1.38, allocations: 30.58 kB / 1.388 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/1.38, allocations: 7.828 kB / 1.388 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.38, allocations: 3.938 kB / 1.388 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/1.382, allocations: 1.036 MB / 1.389 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.711e-05/1.382, allocations: 161.8 kB / 1.389 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.817e-05/1.382, allocations: 21.83 kB / 1.389 GB, free: 27.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/1.382, allocations: 56.42 kB / 1.389 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/1.382, allocations: 47.06 kB / 1.39 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/1.382, allocations: 26.61 kB / 1.39 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003897/1.383, allocations: 409.6 kB / 1.39 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.21e-07/1.383, allocations: 0 / 1.39 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006097/1.383, allocations: 300.6 kB / 1.39 GB, free: 26.84 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.0002107/1.383, allocations: 138.8 kB / 1.39 GB, free: 26.74 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000995/1.384, allocations: 0.8086 MB / 1.391 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.384, allocations: 0 / 1.391 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003019/1.385, allocations: 283.2 kB / 1.391 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006176/1.385, allocations: 130.2 kB / 1.392 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/1.387, allocations: 1.198 MB / 1.393 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/1.387, allocations: 0.9956 MB / 1.394 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004501/1.388, allocations: 125 kB / 1.394 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/1.388, allocations: 57.08 kB / 1.394 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of SimCode: time 3e-07/1.388, allocations: 0 / 1.394 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of Templates: time 0.0124/1.4, allocations: 7.819 MB / 1.401 GB, free: 21.35 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