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.38/1.38, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001307/0.001308, allocations: 184.8 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.957/1.957, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.001135/0.001135, allocations: 103.3 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003702, allocations: 14.03 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2041, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1688/0.3729, allocations: 131.5 MB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.3732, allocations: 67.95 kB / 1.029 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003615/0.3769, allocations: 1.153 MB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3769, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.3769, allocations: 8 kB / 1.03 GB, free: 10.97 MB / 0.6823 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.0004742/0.3774, allocations: 371.1 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.3774, allocations: 12.03 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.3775, allocations: 3.906 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.3776, allocations: 190.7 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.3777, allocations: 0 / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.3777, allocations: 12 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.3779, allocations: 85.58 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.485e-06/0.378, allocations: 0 / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.378, allocations: 4 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.378, allocations: 0 / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002526/0.3783, allocations: 83.88 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006304/0.3789, allocations: 340.8 kB / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.3792, allocations: 102.5 kB / 1.031 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.3792, allocations: 0 / 1.031 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.3792, allocations: 30.56 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 8.71e-07/0.3792, allocations: 0 / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.0005106/0.3798, allocations: 157.7 kB / 1.031 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.3798, allocations: 55.36 kB / 1.031 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.3799, allocations: 117 kB / 1.031 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.3799, allocations: 29.7 kB / 1.031 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/0.38, allocations: 100 kB / 1.031 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.38, allocations: 11.75 kB / 1.031 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.3801, allocations: 0 / 1.031 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3802, allocations: 322.8 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.3803, allocations: 31.98 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.3804, allocations: 39.97 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.3806, allocations: 35.97 kB / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3806, allocations: 0 / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002805/0.3809, allocations: 113.6 kB / 1.032 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3809, allocations: 7.984 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3809, allocations: 0 / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3809, allocations: 0 / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.3811, allocations: 23.92 kB / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.3811, allocations: 0 / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.853e-05/0.3812, allocations: 19.94 kB / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.3812, allocations: 4 kB / 1.032 GB, free: 8.5 MB / 0.6823 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 () * Number of clocked 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.537e-05/0.3813, allocations: 113.8 kB / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.3813, allocations: 3.906 kB / 1.032 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.3814, allocations: 12.38 kB / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3814, allocations: 0 / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3814, allocations: 0 / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3814, allocations: 3.984 kB / 1.032 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.3816, allocations: 197.5 kB / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3816, allocations: 8 kB / 1.032 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.3817, allocations: 15.98 kB / 1.032 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3817, allocations: 448 / 1.032 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.3818, allocations: 4 kB / 1.032 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3818, allocations: 4 kB / 1.032 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.3818, allocations: 4 kB / 1.032 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.3821, allocations: 223.3 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.3822, allocations: 81.02 kB / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.3822, allocations: 0 / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.3823, allocations: 15.92 kB / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/0.3824, allocations: 11.98 kB / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.3824, allocations: 7.938 kB / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.217e-05/0.3824, allocations: 95.27 kB / 1.033 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3825, allocations: 0 / 1.033 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002174/0.3827, allocations: 16 kB / 1.033 GB, free: 7.609 MB / 0.6823 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 () * Number of clocked 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.0001649/0.3828, allocations: 107.2 kB / 1.033 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002919/0.3831, allocations: 83.89 kB / 1.033 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3832, allocations: 0 / 1.033 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.3833, allocations: 43.97 kB / 1.033 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.3836, allocations: 15.94 kB / 1.033 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.384, allocations: 184.5 kB / 1.033 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.3843, allocations: 0.6965 MB / 1.034 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.509e-05/0.3844, allocations: 12.17 kB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.3845, allocations: 11.44 kB / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.3845, allocations: 0 / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of Templates: time 0.003027/0.3875, allocations: 1.033 MB / 1.035 GB, free: 5.371 MB / 0.6823 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