Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.007778/0.007778, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.00219/0.002189, allocations: 194.6 kB / 16.79 MB, free: 5.809 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.454/1.454, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.794/2.794, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 64.48 kB / 0.8991 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3446, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002463/0.3471, allocations: 0.8776 MB / 1.054 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000169/0.3473, allocations: 43.84 kB / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.333e-05/0.3474, allocations: 0 / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.393e-05/0.3475, allocations: 3.938 kB / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.379e-05/0.3476, allocations: 7.922 kB / 1.054 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.555e-05/0.3477, allocations: 16 kB / 1.054 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.3478, allocations: 59.75 kB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.348, allocations: 47.91 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.928e-05/0.3481, allocations: 23.86 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.738e-05/0.3481, allocations: 27.8 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.3481, allocations: 4 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.3482, allocations: 4 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.3482, allocations: 11.92 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.3483, allocations: 35.8 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.229e-05/0.3483, allocations: 52.19 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3484, allocations: 0 / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3484, allocations: 0 / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.3484, allocations: 0 / 1.054 GB, free: 7.086 MB / 0.8106 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.0006029/0.349, allocations: 383.3 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/0.349, allocations: 8.031 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.3491, allocations: 12.78 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.3494, allocations: 192.2 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.3494, allocations: 12.38 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.3494, allocations: 4.375 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.3496, allocations: 97.83 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.3496, allocations: 192 / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.3497, allocations: 7.922 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.3497, allocations: 4 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.305e-05/0.3498, allocations: 35.98 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006265/0.3504, allocations: 440.5 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.897e-05/0.3505, allocations: 41.14 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.076e-05/0.3505, allocations: 21.84 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.3505, allocations: 4.094 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.3506, allocations: 38.44 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.3506, allocations: 0 / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001946/0.3508, allocations: 53.48 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.3508, allocations: 85.09 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.351, allocations: 161.2 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.351, allocations: 29.7 kB / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.3511, allocations: 107.9 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.005e-05/0.3511, allocations: 7.906 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.3512, allocations: 17.7 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3513, allocations: 314.8 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.021e-05/0.3513, allocations: 11.98 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.332e-05/0.3514, allocations: 17.72 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.715e-05/0.3514, allocations: 33.66 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3514, allocations: 0 / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.979e-05/0.3515, allocations: 53.59 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3515, allocations: 8 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.3516, allocations: 3.938 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3516, allocations: 0 / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/0.3516, allocations: 7.938 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3517, allocations: 64 / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.135e-05/0.3517, allocations: 15.84 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.3517, allocations: 0 / 1.056 GB, free: 4.641 MB / 0.8106 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.025e-05/0.3518, allocations: 113.8 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.3519, allocations: 7.906 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.3519, allocations: 19.8 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.3519, allocations: 0 / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3519, allocations: 0 / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3519, allocations: 4 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/0.3523, allocations: 470.8 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3523, allocations: 4 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-05/0.3524, allocations: 4 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.3524, allocations: 4 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.3524, allocations: 0 / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3524, allocations: 3.984 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.3524, allocations: 0 / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.49e-05/0.3525, allocations: 85.78 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.3526, allocations: 93 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.3526, allocations: 0 / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.35e-05/0.3526, allocations: 4 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.3526, allocations: 0 / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-06/0.3526, allocations: 0 / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.369e-05/0.3527, allocations: 120.3 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3527, allocations: 4 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001889/0.3529, allocations: 8 kB / 1.057 GB, free: 3.602 MB / 0.8106 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.0001212/0.3531, allocations: 95.25 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.972e-05/0.3532, allocations: 23.92 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3532, allocations: 0 / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-05/0.3532, allocations: 8 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.3534, allocations: 16.12 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.3537, allocations: 202.2 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.354, allocations: 0.6965 MB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.3541, allocations: 11.44 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of SimCode: time 3.356e-06/0.3541, allocations: 4 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of Templates: time 0.002581/0.3567, allocations: 0.856 MB / 1.059 GB, free: 1.617 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches