Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001336/0.001336, allocations: 110.3 kB / 16.41 MB, free: 6.441 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.00155/0.00155, allocations: 190.7 kB / 17.35 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 71.88 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.97/0.9715, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002659/0.9742, allocations: 0.7667 MB / 1.168 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.9755, allocations: 0.8531 MB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.721e-05/0.9756, allocations: 0 / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.093e-05/0.9757, allocations: 7.875 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.804e-05/0.9758, allocations: 3.938 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.976, allocations: 31.97 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.9761, allocations: 75.77 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.9763, allocations: 23.98 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.9764, allocations: 31.84 kB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.945e-05/0.9765, allocations: 43.83 kB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.9765, allocations: 4 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.719e-05/0.9765, allocations: 12 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.996e-05/0.9766, allocations: 15.98 kB / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.108e-05/0.9766, allocations: 27.8 kB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.9768, allocations: 75.73 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.9768, allocations: 0 / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9768, allocations: 3.938 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.9768, allocations: 0 / 1.169 GB, free: 1.863 MB / 0.8887 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.0007019/0.9775, allocations: 375.2 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.9776, allocations: 8.031 kB / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.9777, allocations: 12.84 kB / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.9779, allocations: 182 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.9779, allocations: 384 / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.9779, allocations: 8.375 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.9782, allocations: 82.14 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.9782, allocations: 192 / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.9782, allocations: 7.938 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.9782, allocations: 3.938 kB / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.9785, allocations: 75.88 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005963/0.9791, allocations: 320.7 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.9793, allocations: 86.47 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.9795, allocations: 36.94 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.9795, allocations: 4 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.9796, allocations: 34.55 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.9796, allocations: 0 / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.000486/0.9801, allocations: 129.7 kB / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.9801, allocations: 55.41 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.9802, allocations: 129.8 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.9803, allocations: 29.7 kB / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.9803, allocations: 88.08 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.9804, allocations: 23.7 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-05/0.9805, allocations: 17.72 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.9806, allocations: 326.8 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.9807, allocations: 39.97 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.9809, allocations: 31.98 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.9811, allocations: 64.81 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.9811, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002822/0.9814, allocations: 105.5 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.9814, allocations: 8 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.9814, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.9814, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.9816, allocations: 31.91 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.9816, allocations: 0 / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.908e-05/0.9817, allocations: 4 kB / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.9817, allocations: 3.984 kB / 1.172 GB, free: 15.36 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.546e-05/0.9818, allocations: 121.7 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.9819, allocations: 7.906 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.9819, allocations: 8.375 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.9819, allocations: 0 / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.9819, allocations: 4 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.982, allocations: 85.09 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.982, allocations: 0 / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.9821, allocations: 7.938 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-05/0.9822, allocations: 15.98 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003752/0.9826, allocations: 192.8 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000352/0.9829, allocations: 282.9 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001335/0.9831, allocations: 39.97 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.537e-05/0.9831, allocations: 91.27 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of Backend: time 3.91e-07/0.9831, allocations: 0 / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000504/0.9836, allocations: 130.3 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006899/0.9843, allocations: 0.5999 MB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of Templates: time 0.004011/0.9884, allocations: 1.327 MB / 1.174 GB, free: 12.37 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches