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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001761/0.001761, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002734/0.002734, allocations: 195.7 kB / 16.14 MB, free: 6.711 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.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.797/2.797, allocations: 461.8 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 67.47 kB / 0.8984 GB, free: 37.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3374, allocations: 157.4 MB / 1.052 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002015/0.3394, allocations: 0.8803 MB / 1.053 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 9.933e-05/0.3395, allocations: 43.78 kB / 1.053 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.254e-05/0.3396, allocations: 4 kB / 1.053 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.111e-05/0.3396, allocations: 3.938 kB / 1.053 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.627e-05/0.3397, allocations: 3.938 kB / 1.053 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.529e-05/0.3398, allocations: 19.98 kB / 1.053 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.119e-05/0.3399, allocations: 59.75 kB / 1.053 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.34, allocations: 43.97 kB / 1.053 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.19e-05/0.3401, allocations: 23.86 kB / 1.053 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.662e-05/0.3401, allocations: 27.8 kB / 1.053 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.3401, allocations: 7.984 kB / 1.053 GB, free: 7.773 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.3402, allocations: 4 kB / 1.053 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.3402, allocations: 15.92 kB / 1.053 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.3402, allocations: 31.75 kB / 1.053 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.695e-05/0.3403, allocations: 68.06 kB / 1.053 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3403, allocations: 0 / 1.053 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.276e-06/0.3403, allocations: 3.984 kB / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.3404, allocations: 3.938 kB / 1.053 GB, free: 7.648 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.0004137/0.3408, allocations: 375.3 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3408, allocations: 11.97 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.3409, allocations: 8.844 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.3411, allocations: 200.1 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.3411, allocations: 12.31 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.3411, allocations: 8.375 kB / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.3413, allocations: 93.27 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3414, allocations: 192 / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3414, allocations: 3.938 kB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3414, allocations: 4 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.904e-05/0.3415, allocations: 39.92 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005519/0.342, allocations: 432.6 kB / 1.054 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.273e-05/0.3421, allocations: 49.17 kB / 1.054 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.846e-05/0.3422, allocations: 17.84 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.3422, allocations: 8 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.3422, allocations: 30.56 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3422, allocations: 0 / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001802/0.3424, allocations: 57.47 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.3425, allocations: 81.11 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.3426, allocations: 157.3 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.3427, allocations: 29.95 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/0.3427, allocations: 104 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/0.3428, allocations: 7.891 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.3428, allocations: 17.72 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.3429, allocations: 314.8 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.873e-05/0.3429, allocations: 7.984 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.845e-05/0.343, allocations: 29.64 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.7e-05/0.343, allocations: 25.72 kB / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3431, allocations: 0 / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.813e-05/0.3431, allocations: 61.53 kB / 1.055 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3432, allocations: 4 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.3432, allocations: 7.938 kB / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3432, allocations: 0 / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.3433, allocations: 7.938 kB / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.3433, allocations: 3.984 kB / 1.055 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.186e-05/0.3433, allocations: 15.91 kB / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.3433, allocations: 0 / 1.055 GB, free: 5.207 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 8.868e-05/0.3434, allocations: 119.4 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.3435, allocations: 7.906 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.3435, allocations: 19.75 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3435, allocations: 0 / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3435, allocations: 0 / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.3435, allocations: 4 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.344, allocations: 474.8 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.344, allocations: 4 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-05/0.344, allocations: 4 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.344, allocations: 7.984 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.344, allocations: 3.938 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.344, allocations: 0 / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.344, allocations: 0 / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.165e-05/0.3441, allocations: 77.91 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.3442, allocations: 89 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.3442, allocations: 4 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.176e-05/0.3442, allocations: 4 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.118e-05/0.3442, allocations: 0 / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.3443, allocations: 0 / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.283e-05/0.3443, allocations: 119.2 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3443, allocations: 4.031 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000199/0.3446, allocations: 8 kB / 1.056 GB, free: 4.164 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.0001046/0.3447, allocations: 99.19 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.737e-05/0.3448, allocations: 19.98 kB / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3448, allocations: 0 / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-05/0.3448, allocations: 11.94 kB / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.3449, allocations: 7.938 kB / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.3453, allocations: 191.2 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.3456, allocations: 0.6926 MB / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.066e-05/0.3456, allocations: 4.438 kB / 1.057 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.3456, allocations: 15.42 kB / 1.057 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.3456, allocations: 0 / 1.057 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of Templates: time 0.002234/0.3479, allocations: 432.7 kB / 1.058 GB, free: 2.641 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/jenkins/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