Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 112.8 kB / 16.41 MB, free: 6.438 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.001175/0.001175, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.14 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.48/2.48, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002682/0.002682, allocations: 68.12 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.967/0.9697, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002133/0.9719, allocations: 0.8275 MB / 1.168 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001355/0.9721, allocations: 47.78 kB / 1.168 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.9722, allocations: 0 / 1.168 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.946e-05/0.9722, allocations: 11.81 kB / 1.168 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.863e-05/0.9723, allocations: 11.92 kB / 1.168 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.238e-05/0.9724, allocations: 19.98 kB / 1.168 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.9725, allocations: 63.78 kB / 1.168 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.9727, allocations: 43.97 kB / 1.168 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.86e-05/0.9727, allocations: 27.86 kB / 1.168 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.902e-05/0.9728, allocations: 23.86 kB / 1.168 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.9728, allocations: 8 kB / 1.168 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.9728, allocations: 8 kB / 1.168 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.9729, allocations: 15.92 kB / 1.168 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.9729, allocations: 39.73 kB / 1.168 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.973, allocations: 67.7 kB / 1.168 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.9731, allocations: 0 / 1.168 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9731, allocations: 0 / 1.168 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.9731, allocations: 0 / 1.168 GB, free: 2.637 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004656/0.9735, allocations: 384.8 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.9736, allocations: 16.56 kB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.9736, allocations: 12.83 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.9739, allocations: 192.2 kB / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.9739, allocations: 4.375 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.9739, allocations: 8.375 kB / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.9741, allocations: 94.39 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.9741, allocations: 192 / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.9741, allocations: 7.938 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.9741, allocations: 4 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.169e-05/0.9742, allocations: 43.91 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/0.9748, allocations: 432.5 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.169e-05/0.9749, allocations: 45.34 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.021e-05/0.9749, allocations: 17.78 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.9749, allocations: 0 / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.975, allocations: 30.56 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.975, allocations: 4 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0002162/0.9752, allocations: 65.47 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.9752, allocations: 77.11 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.9754, allocations: 160.6 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.9754, allocations: 25.7 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.37e-05/0.9755, allocations: 108 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.508e-06/0.9755, allocations: 7.906 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.9756, allocations: 13.72 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.9757, allocations: 331 kB / 1.17 GB, free: 368 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.79e-05/0.9757, allocations: 4 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.095e-05/0.9757, allocations: 17.72 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.284e-05/0.9758, allocations: 25.7 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.9758, allocations: 0 / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.973e-05/0.9759, allocations: 61.55 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.9759, allocations: 8.062 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.9759, allocations: 3.938 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.9759, allocations: 0 / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.703e-05/0.976, allocations: 15.92 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.976, allocations: 0 / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.812e-05/0.9761, allocations: 7.906 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.9761, allocations: 0 / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 7.816e-05/0.9761, allocations: 117.8 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.9762, allocations: 8 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.9762, allocations: 23.8 kB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.9762, allocations: 3.984 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.9762, allocations: 0 / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.9763, allocations: 0 / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003955/0.9767, allocations: 466.8 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.9767, allocations: 4 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.233e-05/0.9767, allocations: 4 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.9767, allocations: 4.062 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.9767, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.9767, allocations: 4 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.9767, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.643e-05/0.9768, allocations: 81.83 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/0.9769, allocations: 88.95 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.9769, allocations: 0 / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.457e-05/0.9769, allocations: 4.031 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/0.977, allocations: 7.922 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.977, allocations: 4 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001015/0.9771, allocations: 125.7 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9771, allocations: 0 / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002019/0.9773, allocations: 7.906 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001559/0.9774, allocations: 99.25 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001158/0.9776, allocations: 20 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9776, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-05/0.9776, allocations: 7.938 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.9778, allocations: 7.938 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/0.9782, allocations: 188.5 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.9786, allocations: 0.7043 MB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.9786, allocations: 11.44 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of SimCode: time 1.9e-07/0.9786, allocations: 0 / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of Templates: time 0.002397/0.981, allocations: 0.8599 MB / 1.173 GB, free: 13.18 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches