Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 249.3 MB / 261.9 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001259/0.001259, allocations: 176.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.2 MB / 0.572 GB, free: 10.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008769/0.0008771, allocations: 89.28 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.117e-05/3.131e-05, allocations: 8 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2226, allocations: 106.3 MB / 0.8918 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7225/0.9453, allocations: 131.5 MB / 1.02 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.9455, allocations: 75.14 kB / 1.02 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003508/0.949, allocations: 1.157 MB / 1.021 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.513e-06/0.949, allocations: 0 / 1.021 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.9491, allocations: 4 kB / 1.021 GB, free: 2.176 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004218/0.9495, allocations: 360.8 kB / 1.022 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.9495, allocations: 12.03 kB / 1.022 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.9496, allocations: 7.906 kB / 1.022 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.9498, allocations: 187.7 kB / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.9498, allocations: 3.125 kB / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.9498, allocations: 4 kB / 1.022 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.95, allocations: 69.8 kB / 1.022 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.95, allocations: 0 / 1.022 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.95, allocations: 3.938 kB / 1.022 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.95, allocations: 0 / 1.022 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.587e-05/0.9501, allocations: 45.92 kB / 1.022 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/0.9507, allocations: 348.6 kB / 1.022 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.9509, allocations: 76.28 kB / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.936e-05/0.951, allocations: 31.53 kB / 1.023 GB, free: 1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.951, allocations: 0 / 1.023 GB, free: 1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.951, allocations: 40.66 kB / 1.023 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.951, allocations: 0 / 1.023 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002084/0.9513, allocations: 75.92 kB / 1.023 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.9513, allocations: 55.36 kB / 1.023 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.488e-05/0.9514, allocations: 108.6 kB / 1.023 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.9514, allocations: 29.69 kB / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.9515, allocations: 98.36 kB / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.9515, allocations: 19.59 kB / 1.023 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-06/0.9515, allocations: 4 kB / 1.023 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.9517, allocations: 314.8 kB / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.771e-05/0.9517, allocations: 14.88 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.399e-05/0.9518, allocations: 19.56 kB / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.324e-05/0.9518, allocations: 18.86 kB / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.9518, allocations: 0 / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001497/0.952, allocations: 80.06 kB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.952, allocations: 8 kB / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.952, allocations: 0 / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.952, allocations: 0 / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.9522, allocations: 24.08 kB / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.9522, allocations: 3.938 kB / 1.023 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.408e-05/0.9523, allocations: 18.91 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.9523, allocations: 4 kB / 1.023 GB, free: 100 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 8.457e-05/0.9524, allocations: 108.5 kB / 1.024 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.9524, allocations: 4 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.9525, allocations: 7.25 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.9525, allocations: 4 kB / 1.024 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.9525, allocations: 0 / 1.024 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.9525, allocations: 3.938 kB / 1.024 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.9527, allocations: 202.7 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.9527, allocations: 0 / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.9528, allocations: 16.23 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.9529, allocations: 8 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.9529, allocations: 7.625 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.9529, allocations: 0 / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.9529, allocations: 0 / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.9531, allocations: 173.5 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.9531, allocations: 85.02 kB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.872e-05/0.9532, allocations: 3.938 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.9533, allocations: 15.98 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.9533, allocations: 11.55 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.9534, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.534e-05/0.9534, allocations: 106.9 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9534, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002095/0.9537, allocations: 15.94 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001571/0.9538, allocations: 103.2 kB / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.954, allocations: 45.61 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.954, allocations: 4 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.715e-05/0.954, allocations: 34.69 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.9542, allocations: 7.938 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.9546, allocations: 111.8 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.9549, allocations: 0.6887 MB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.013e-05/0.9549, allocations: 8.188 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.955, allocations: 15.42 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of SimCode: time 3.71e-07/0.955, allocations: 0 / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of Templates: time 0.003093/0.9581, allocations: 1.049 MB / 1.026 GB, free: 13.23 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Round.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches