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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001701/0.001702, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001972/0.001973, allocations: 192 kB / 16.25 MB, free: 6.637 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.549/1.549, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.719/2.719, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 59.91 kB / 0.8121 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7769/0.7784, allocations: 140.3 MB / 0.9491 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.002894/0.7814, allocations: 0.8299 MB / 0.9499 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.7827, allocations: 0.8317 MB / 0.9507 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.7828, allocations: 1.375 kB / 0.9507 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.829e-05/0.7828, allocations: 7.922 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.405e-05/0.7829, allocations: 9.312 kB / 0.9508 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.7831, allocations: 20.11 kB / 0.9508 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.7832, allocations: 72.7 kB / 0.9508 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.7834, allocations: 21.61 kB / 0.9509 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.576e-05/0.7835, allocations: 29.53 kB / 0.9509 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.492e-05/0.7835, allocations: 37.47 kB / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.7836, allocations: 6.875 kB / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.858e-05/0.7836, allocations: 6.875 kB / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.553e-05/0.7836, allocations: 26.61 kB / 0.951 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.999e-05/0.7837, allocations: 35.89 kB / 0.951 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.7838, allocations: 69.52 kB / 0.9511 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7838, allocations: 0 / 0.9511 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7838, allocations: 0 / 0.9511 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.7838, allocations: 0 / 0.9511 GB, free: 7.594 MB / 0.7169 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.0005695/0.7844, allocations: 381.9 kB / 0.9514 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.7845, allocations: 9.625 kB / 0.9514 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.7845, allocations: 3.688 kB / 0.9514 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.7846, allocations: 181.7 kB / 0.9516 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.7847, allocations: 3.125 kB / 0.9516 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.7847, allocations: 7.125 kB / 0.9516 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.7849, allocations: 82.89 kB / 0.9517 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.7849, allocations: 192 / 0.9517 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.785, allocations: 9.25 kB / 0.9517 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.785, allocations: 0 / 0.9517 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/0.7852, allocations: 67.69 kB / 0.9518 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.7857, allocations: 330.6 kB / 0.9521 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.7859, allocations: 92.33 kB / 0.9522 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.7861, allocations: 43.72 kB / 0.9522 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.7861, allocations: 0 / 0.9522 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.7861, allocations: 31.66 kB / 0.9523 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.103e-06/0.7861, allocations: 0 / 0.9523 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004621/0.7866, allocations: 134.2 kB / 0.9524 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.7866, allocations: 60.75 kB / 0.9524 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.303e-05/0.7867, allocations: 121.5 kB / 0.9526 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.7867, allocations: 26.92 kB / 0.9526 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.7868, allocations: 98.31 kB / 0.9527 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.7868, allocations: 15 kB / 0.9527 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.7869, allocations: 21.17 kB / 0.9527 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.879e-05/0.7869, allocations: 321.7 kB / 0.953 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.787, allocations: 27.38 kB / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.7872, allocations: 36.62 kB / 0.9531 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.7874, allocations: 68.97 kB / 0.9531 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.7874, allocations: 1.125 kB / 0.9531 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002654/0.7876, allocations: 109.6 kB / 0.9532 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.7877, allocations: 5.125 kB / 0.9533 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.7877, allocations: 1.344 kB / 0.9533 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.7877, allocations: 4 kB / 0.9533 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.7879, allocations: 15.73 kB / 0.9533 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.7879, allocations: 0 / 0.9533 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.317e-05/0.788, allocations: 7.766 kB / 0.9533 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.788, allocations: 6.484 kB / 0.9533 GB, free: 5.5 MB / 0.7169 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 6.712e-05/0.788, allocations: 120.3 kB / 0.9534 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.7881, allocations: 6.469 kB / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.7881, allocations: 13.64 kB / 0.9534 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.7881, allocations: 5.484 kB / 0.9534 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.7881, allocations: 5.156 kB / 0.9534 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.7881, allocations: 0 / 0.9534 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.7883, allocations: 198.3 kB / 0.9536 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.7883, allocations: 0 / 0.9536 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.7884, allocations: 15.17 kB / 0.9536 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.7884, allocations: 1.344 kB / 0.9536 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.7885, allocations: 3.984 kB / 0.9536 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.7885, allocations: 5.281 kB / 0.9536 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.7885, allocations: 0 / 0.9536 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.7888, allocations: 209.8 kB / 0.9538 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.7888, allocations: 82.83 kB / 0.9539 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.7888, allocations: 5.375 kB / 0.9539 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.789, allocations: 10.7 kB / 0.9539 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.789, allocations: 13.11 kB / 0.954 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.789, allocations: 1.125 kB / 0.954 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.874e-05/0.7891, allocations: 97.83 kB / 0.954 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7891, allocations: 0 / 0.954 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000233/0.7893, allocations: 14.12 kB / 0.9541 GB, free: 4.727 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001323/0.7895, allocations: 97.94 kB / 0.9542 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000331/0.7898, allocations: 80.12 kB / 0.9542 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.7898, allocations: 0 / 0.9542 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.79, allocations: 44.66 kB / 0.9543 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.7903, allocations: 14.36 kB / 0.9543 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004188/0.7907, allocations: 188.8 kB / 0.9545 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.7909, allocations: 0.6968 MB / 0.9551 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.674e-05/0.7909, allocations: 4.156 kB / 0.9551 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.791, allocations: 16.48 kB / 0.9552 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.791, allocations: 0 / 0.9552 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of Templates: time 0.00365/0.7946, allocations: 1.138 MB / 0.9563 GB, free: 3.094 MB / 0.7169 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches