Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.81/2.81, allocations: 436.5 MB / 0.7104 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004096/0.00041, allocations: 12 kB / 0.8708 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8493/0.8497, allocations: 153.7 MB / 1.021 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.000961/0.8507, allocations: 478.1 kB / 1.021 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009831/0.8517, allocations: 0.8274 MB / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.227e-05/0.8518, allocations: 4 kB / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.8518, allocations: 7.938 kB / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.393e-05/0.8519, allocations: 3.938 kB / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.852, allocations: 27.95 kB / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.534e-05/0.8521, allocations: 35.95 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.8522, allocations: 15.98 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.082e-05/0.8523, allocations: 23.86 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.281e-05/0.8524, allocations: 31.89 kB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.8525, allocations: 4 kB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.557e-05/0.8525, allocations: 4 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.8525, allocations: 15.92 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.8525, allocations: 29.7 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.349e-05/0.8526, allocations: 51.86 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.8526, allocations: 0 / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.003e-06/0.8526, allocations: 0 / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.8527, allocations: 0 / 1.022 GB, free: 15.7 MB / 0.7794 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.0005551/0.8532, allocations: 381.2 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.8533, allocations: 11.98 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.8533, allocations: 7.906 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.8535, allocations: 178.9 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.8535, allocations: 3.984 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.8535, allocations: 8 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.8537, allocations: 93.53 kB / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.8538, allocations: 0 / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.8538, allocations: 0 / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.8538, allocations: 4 kB / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002607/0.8541, allocations: 79.88 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.8545, allocations: 320.8 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.8548, allocations: 98.47 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.8548, allocations: 4 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.8549, allocations: 30.56 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.8549, allocations: 0 / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004806/0.8553, allocations: 153.7 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.8554, allocations: 55.34 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.608e-05/0.8555, allocations: 121.9 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.8555, allocations: 29.64 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.8556, allocations: 99.98 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.8556, allocations: 15.8 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.8556, allocations: 4 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.8558, allocations: 318.8 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.8559, allocations: 39.91 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.856, allocations: 35.97 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.8561, allocations: 39.98 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.8562, allocations: 0 / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002721/0.8564, allocations: 109.5 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.8565, allocations: 4 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.8565, allocations: 4 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.8565, allocations: 0 / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.8566, allocations: 23.98 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.8567, allocations: 3.984 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.024e-05/0.8567, allocations: 8 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.8568, allocations: 0 / 1.025 GB, free: 13.25 MB / 0.7794 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.113e-05/0.8568, allocations: 125.7 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.8569, allocations: 7.906 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.423e-05/0.8569, allocations: 12.38 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.8569, allocations: 0 / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.8569, allocations: 4 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.8569, allocations: 0 / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.8571, allocations: 193.5 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.8571, allocations: 0 / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.8573, allocations: 23.97 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.8573, allocations: 448 / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.8573, allocations: 4 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.8573, allocations: 0 / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8573, allocations: 8 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.8576, allocations: 211.3 kB / 1.025 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.8577, allocations: 84.97 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.8577, allocations: 8 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.8579, allocations: 7.984 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.8579, allocations: 11.98 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.8579, allocations: 7.984 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.548e-05/0.858, allocations: 99.2 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.858, allocations: 0 / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002232/0.8582, allocations: 12 kB / 1.025 GB, free: 12.35 MB / 0.7794 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.0001554/0.8584, allocations: 99.25 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002845/0.8587, allocations: 83.88 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8587, allocations: 0 / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.8588, allocations: 59.91 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.8591, allocations: 0 / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004188/0.8595, allocations: 183.1 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.8598, allocations: 0.7004 MB / 1.026 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.647e-05/0.8598, allocations: 4.188 kB / 1.026 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.941e-05/0.8599, allocations: 15.42 kB / 1.026 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.8599, allocations: 0 / 1.026 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of Templates: time 0.003779/0.8637, allocations: 1.043 MB / 1.027 GB, free: 10.12 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches