Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.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.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.252/2.252, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001017/0.001017, allocations: 196.7 kB / 487.4 MB, free: 5.039 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.458/1.458, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 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.0009804/0.0009804, allocations: 106.4 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.606e-05/2.609e-05, allocations: 15.94 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3195, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.08/1.4, allocations: 148.2 MB / 1.351 GB, free: 18.32 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/1.4, allocations: 70.11 kB / 1.351 GB, free: 18.32 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004584/1.405, allocations: 1.13 MB / 1.352 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.174e-06/1.405, allocations: 4.797 kB / 1.352 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.618e-06/1.405, allocations: 1.219 kB / 1.352 GB, free: 33.96 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004333/1.405, allocations: 362.6 kB / 1.352 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/1.405, allocations: 9.859 kB / 1.352 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/1.405, allocations: 7.812 kB / 1.352 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/1.405, allocations: 175.1 kB / 1.352 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/1.406, allocations: 2.531 kB / 1.352 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/1.406, allocations: 7.156 kB / 1.352 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001192/1.406, allocations: 38.83 kB / 1.352 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/1.406, allocations: 68.14 kB / 1.353 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/1.406, allocations: 1.312 kB / 1.353 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/1.406, allocations: 0 / 1.353 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/1.406, allocations: 1.312 kB / 1.353 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/1.407, allocations: 323.5 kB / 1.353 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/1.407, allocations: 67.56 kB / 1.353 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.997e-05/1.407, allocations: 27.09 kB / 1.353 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/1.407, allocations: 1.344 kB / 1.353 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/1.407, allocations: 36.62 kB / 1.353 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 2.675e-06/1.407, allocations: 112 / 1.353 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002258/1.407, allocations: 77.72 kB / 1.353 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/1.407, allocations: 52.72 kB / 1.353 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/1.407, allocations: 111.9 kB / 1.353 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/1.407, allocations: 25.7 kB / 1.353 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.769e-05/1.407, allocations: 90.31 kB / 1.353 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/1.407, allocations: 21.17 kB / 1.353 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/1.407, allocations: 0 / 1.353 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.407, allocations: 324.1 kB / 1.354 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.19e-05/1.407, allocations: 18.77 kB / 1.354 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.623e-05/1.408, allocations: 16.28 kB / 1.354 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.905e-05/1.408, allocations: 22.25 kB / 1.354 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.408, allocations: 0 / 1.354 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001066/1.408, allocations: 76.44 kB / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/1.408, allocations: 8.328 kB / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/1.408, allocations: 0 / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/1.408, allocations: 0 / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/1.408, allocations: 20.3 kB / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.408, allocations: 4.719 kB / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.051e-05/1.408, allocations: 6.453 kB / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/1.408, allocations: 4.625 kB / 1.354 GB, free: 32.35 MB / 0.8386 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 7.954e-05/1.408, allocations: 104.9 kB / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/1.408, allocations: 12.59 kB / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.374e-05/1.408, allocations: 9.766 kB / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/1.408, allocations: 4 kB / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.408, allocations: 0 / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/1.408, allocations: 4.516 kB / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/1.408, allocations: 176.3 kB / 1.354 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.408, allocations: 0 / 1.354 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/1.408, allocations: 20.88 kB / 1.354 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/1.408, allocations: 0 / 1.354 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/1.409, allocations: 0.6562 kB / 1.354 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.409, allocations: 3.984 kB / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.409, allocations: 4.562 kB / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/1.409, allocations: 182.3 kB / 1.354 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.852e-05/1.409, allocations: 77.72 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/1.409, allocations: 0.5156 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/1.409, allocations: 14.2 kB / 1.354 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/1.409, allocations: 12.81 kB / 1.354 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/1.409, allocations: 4.484 kB / 1.354 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.199e-05/1.409, allocations: 97.31 kB / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.409, allocations: 0 / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002208/1.409, allocations: 20.3 kB / 1.355 GB, free: 31.73 MB / 0.8386 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.0001613/1.409, allocations: 107.3 kB / 1.355 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001165/1.41, allocations: 44.55 kB / 1.355 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/1.41, allocations: 0 / 1.355 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.821e-05/1.41, allocations: 27.66 kB / 1.355 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/1.41, allocations: 13.55 kB / 1.355 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/1.41, allocations: 108.9 kB / 1.355 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/1.41, allocations: 0.6914 MB / 1.355 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.974e-05/1.411, allocations: 9.656 kB / 1.355 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/1.411, allocations: 13.67 kB / 1.356 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.411, allocations: 0 / 1.356 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of Templates: time 0.003412/1.414, allocations: 0.9766 MB / 1.356 GB, free: 30.77 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Round.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches