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.01245/0.01245, allocations: 104.3 kB / 15.73 MB, free: 5.953 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.00248/0.00248, allocations: 190.1 kB / 16.67 MB, free: 5.871 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 15.04 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.611/2.611, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 60.12 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.051, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002033/1.053, allocations: 0.834 MB / 1.167 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001274/1.053, allocations: 43.78 kB / 1.167 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.358e-05/1.053, allocations: 4 kB / 1.167 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.376e-05/1.053, allocations: 11.86 kB / 1.167 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.723e-05/1.054, allocations: 7.938 kB / 1.167 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.067e-05/1.054, allocations: 19.98 kB / 1.168 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000115/1.054, allocations: 59.78 kB / 1.168 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/1.054, allocations: 47.97 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.323e-05/1.054, allocations: 23.88 kB / 1.168 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/1.054, allocations: 27.84 kB / 1.168 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/1.054, allocations: 4 kB / 1.168 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/1.054, allocations: 11.94 kB / 1.168 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/1.054, allocations: 15.92 kB / 1.168 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.757e-05/1.054, allocations: 39.73 kB / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/1.054, allocations: 68.22 kB / 1.168 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.054, allocations: 0 / 1.168 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.803e-06/1.054, allocations: 0 / 1.168 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.166e-06/1.054, allocations: 4 kB / 1.168 GB, free: 2.633 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.0005067/1.055, allocations: 391 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.055, allocations: 8.922 kB / 1.168 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/1.055, allocations: 12.84 kB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/1.055, allocations: 200.1 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/1.055, allocations: 4.375 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/1.055, allocations: 12.36 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/1.055, allocations: 94.39 kB / 1.168 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/1.055, allocations: 192 / 1.168 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/1.055, allocations: 3.938 kB / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/1.055, allocations: 4 kB / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.576e-05/1.056, allocations: 39.92 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005524/1.056, allocations: 428.7 kB / 1.169 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.773e-05/1.056, allocations: 49.34 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.037e-05/1.056, allocations: 17.77 kB / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/1.056, allocations: 4 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/1.056, allocations: 34.56 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/1.056, allocations: 0 / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001879/1.057, allocations: 57.53 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/1.057, allocations: 77.11 kB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/1.057, allocations: 164 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/1.057, allocations: 29.7 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/1.057, allocations: 104 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.355e-06/1.057, allocations: 3.953 kB / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/1.057, allocations: 21.95 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.057, allocations: 318.8 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/1.057, allocations: 4 kB / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.661e-05/1.057, allocations: 25.7 kB / 1.17 GB, free: 328 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.046e-05/1.057, allocations: 25.72 kB / 1.17 GB, free: 296 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.057, allocations: 0 / 1.17 GB, free: 296 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.51e-05/1.057, allocations: 69.53 kB / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/1.057, allocations: 4 kB / 1.17 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.057, allocations: 7.938 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/1.057, allocations: 3.938 kB / 1.17 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.825e-05/1.057, allocations: 7.938 kB / 1.17 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/1.057, allocations: 0 / 1.17 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/1.057, allocations: 8.031 kB / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/1.057, allocations: 0 / 1.17 GB, free: 188 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 9.626e-05/1.058, allocations: 117.8 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/1.058, allocations: 16 kB / 1.17 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/1.058, allocations: 19.8 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/1.058, allocations: 0 / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.058, allocations: 0 / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.058, allocations: 4 kB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/1.058, allocations: 466.7 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.058, allocations: 4 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.679e-05/1.058, allocations: 64 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/1.058, allocations: 8 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/1.058, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.058, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.058, allocations: 3.984 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.728e-05/1.058, allocations: 77.89 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/1.058, allocations: 89.05 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/1.058, allocations: 4.031 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.171e-05/1.058, allocations: 4 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.159e-05/1.058, allocations: 3.938 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/1.058, allocations: 4 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.232e-05/1.058, allocations: 122.9 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/1.058, allocations: 0 / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001804/1.059, allocations: 8 kB / 1.171 GB, free: 15.13 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.0001141/1.059, allocations: 95.25 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.671e-05/1.059, allocations: 23.98 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.059, allocations: 0 / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.138e-05/1.059, allocations: 7.938 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/1.059, allocations: 11.94 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/1.059, allocations: 162.5 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/1.06, allocations: 0.7004 MB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.044e-05/1.06, allocations: 8.438 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/1.06, allocations: 7.438 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of SimCode: time 6.01e-07/1.06, allocations: 7.938 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of Templates: time 0.002656/1.062, allocations: 467 kB / 1.172 GB, free: 13.59 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/jenkins/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