Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007661/0.007661, allocations: 100 kB / 15.73 MB, free: 6.043 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.001426/0.001426, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.874/2.874, allocations: 469.8 MB / 0.7425 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.89 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3397, allocations: 159.1 MB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.00273/0.3424, allocations: 0.835 MB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001598/0.3426, allocations: 43.78 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.867e-05/0.3427, allocations: 4 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.049e-05/0.3427, allocations: 11.86 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.3428, allocations: 7.875 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.74e-05/0.3429, allocations: 19.98 kB / 1.222 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.343, allocations: 63.83 kB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.3432, allocations: 39.86 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.738e-05/0.3432, allocations: 27.81 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.819e-05/0.3433, allocations: 31.84 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.3433, allocations: 4 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.367e-05/0.3433, allocations: 8 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.3434, allocations: 15.92 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.056e-05/0.3434, allocations: 39.73 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.3436, allocations: 63.66 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.3436, allocations: 7.938 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3436, allocations: 0 / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.3436, allocations: 0 / 1.222 GB, free: 12.62 MB / 0.9825 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.0005329/0.3441, allocations: 383.1 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.3442, allocations: 12.03 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.3442, allocations: 12.84 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.3445, allocations: 196.2 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.3445, allocations: 384 / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.3445, allocations: 12.38 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.3447, allocations: 101.7 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3447, allocations: 192 / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.3447, allocations: 3.938 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3447, allocations: 4 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.808e-05/0.3448, allocations: 35.98 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.3453, allocations: 436.7 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.992e-05/0.3454, allocations: 45.2 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.3454, allocations: 17.81 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.3454, allocations: 0 / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.3455, allocations: 34.56 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3455, allocations: 4 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001827/0.3456, allocations: 61.52 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.3457, allocations: 81.05 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.3458, allocations: 164.4 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.3458, allocations: 25.7 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.127e-05/0.3459, allocations: 96.09 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.3459, allocations: 11.94 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.346, allocations: 17.67 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3461, allocations: 323.1 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.3461, allocations: 11.92 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.046e-05/0.3461, allocations: 17.72 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.25e-05/0.3462, allocations: 25.66 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3462, allocations: 0 / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.113e-05/0.3463, allocations: 61.64 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3463, allocations: 12 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3463, allocations: 3.938 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3463, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.99e-05/0.3464, allocations: 8 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.3464, allocations: 0 / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.076e-05/0.3464, allocations: 7.938 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.3464, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 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.079e-05/0.3465, allocations: 117.8 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.3465, allocations: 7.953 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.3465, allocations: 19.81 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3465, allocations: 0 / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3465, allocations: 0 / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3465, allocations: 4 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.3469, allocations: 470.7 kB / 1.225 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3469, allocations: 0 / 1.225 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.971e-05/0.3469, allocations: 4 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3469, allocations: 8.047 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.3469, allocations: 0 / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3469, allocations: 4 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3469, allocations: 0 / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.268e-05/0.347, allocations: 81.83 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.3471, allocations: 89.05 kB / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.3471, allocations: 0 / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.972e-05/0.3471, allocations: 4.031 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.83e-05/0.3471, allocations: 0 / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.3471, allocations: 8 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.45e-05/0.3472, allocations: 121.5 kB / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3472, allocations: 0 / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001794/0.3474, allocations: 4 kB / 1.225 GB, free: 9.145 MB / 0.9825 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.0001338/0.3475, allocations: 103.2 kB / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.068e-05/0.3476, allocations: 27.86 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3476, allocations: 3.938 kB / 1.225 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-05/0.3476, allocations: 4 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.3478, allocations: 11.94 kB / 1.225 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.3481, allocations: 170.5 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.3485, allocations: 0.6926 MB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.808e-05/0.3485, allocations: 12.42 kB / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.3485, allocations: 7.438 kB / 1.226 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3485, allocations: 4 kB / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of Templates: time 0.002743/0.3513, allocations: 454.8 kB / 1.226 GB, free: 7.602 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches