Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00253/0.00253, allocations: 201 kB / 16.26 MB, free: 6.625 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.545/1.545, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.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.882/2.882, allocations: 437 MB / 0.7101 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002331, allocations: 63.91 kB / 0.8687 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8951/0.8974, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002441/0.8999, allocations: 0.8896 MB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001218/0.9, allocations: 47.77 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.194e-05/0.9001, allocations: 0 / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.763e-05/0.9002, allocations: 7.938 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.894e-05/0.9002, allocations: 3.938 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.92e-05/0.9003, allocations: 15.98 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.9004, allocations: 59.86 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.9006, allocations: 43.95 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.566e-05/0.9006, allocations: 27.81 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.808e-05/0.9007, allocations: 27.84 kB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.9007, allocations: 8 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.115e-05/0.9007, allocations: 8 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.774e-05/0.9008, allocations: 19.92 kB / 1.018 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.9008, allocations: 31.73 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.901, allocations: 69.75 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.901, allocations: 0 / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.053e-06/0.901, allocations: 0 / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.901, allocations: 0 / 1.018 GB, free: 1.453 MB / 0.7637 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.0005063/0.9015, allocations: 383.1 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.9015, allocations: 8.031 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.9016, allocations: 12.84 kB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.9018, allocations: 200.1 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.9018, allocations: 4.375 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.9019, allocations: 12.36 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.9021, allocations: 91.86 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.9021, allocations: 192 / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.9021, allocations: 7.938 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.9021, allocations: 7.938 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.782e-05/0.9022, allocations: 35.92 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/0.9028, allocations: 432.6 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.885e-05/0.9029, allocations: 41.28 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.683e-05/0.9029, allocations: 25.77 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.903, allocations: 7.984 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/0.903, allocations: 30.56 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.903, allocations: 0 / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001951/0.9032, allocations: 53.48 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/0.9033, allocations: 85.3 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.9035, allocations: 164.1 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.9035, allocations: 29.7 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.004e-05/0.9036, allocations: 107.9 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.161e-05/0.9036, allocations: 7.906 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.9037, allocations: 17.7 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.9039, allocations: 314.8 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/0.9039, allocations: 8 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.958e-05/0.9039, allocations: 21.7 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.904, allocations: 29.72 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.904, allocations: 0 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.757e-05/0.9041, allocations: 57.53 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.9041, allocations: 4 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.9041, allocations: 7.938 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.9041, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.208e-05/0.9042, allocations: 8.062 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.9042, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.067e-05/0.9042, allocations: 8 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-06/0.9043, allocations: 0 / 1.02 GB, free: 15.01 MB / 0.7794 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.602e-05/0.9044, allocations: 114.3 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.9044, allocations: 15.81 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.9044, allocations: 15.8 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.9044, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.9045, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.9045, allocations: 8 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004439/0.9049, allocations: 466.8 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.9049, allocations: 7.938 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.682e-05/0.9049, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.905, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.905, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.905, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.905, allocations: 8.047 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.9051, allocations: 77.84 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.9052, allocations: 96.94 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.9052, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.961e-05/0.9052, allocations: 3.938 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.9053, allocations: 7.938 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.9053, allocations: 4.031 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000111/0.9054, allocations: 120.7 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9054, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001882/0.9056, allocations: 8 kB / 1.021 GB, free: 13.96 MB / 0.7794 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.000156/0.9057, allocations: 99.25 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.9059, allocations: 19.98 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.9059, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.554e-05/0.9059, allocations: 12.06 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.9061, allocations: 11.94 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.9065, allocations: 174.8 kB / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.9069, allocations: 0.6964 MB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.171e-05/0.9069, allocations: 4.438 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.907, allocations: 11.44 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.907, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of Templates: time 0.002981/0.9099, allocations: 460.5 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches