Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.01233/0.01233, allocations: 101.1 kB / 15.73 MB, free: 5.508 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.002596/0.002596, allocations: 195.7 kB / 16.67 MB, free: 5.438 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.539/1.539, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.467/2.467, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001262, allocations: 70.5 kB / 0.9509 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3433, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002115/0.3454, allocations: 0.8293 MB / 1.089 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001216/0.3456, allocations: 43.78 kB / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.505e-05/0.3456, allocations: 0 / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.13e-05/0.3457, allocations: 7.875 kB / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.851e-05/0.3458, allocations: 11.88 kB / 1.089 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.198e-05/0.3459, allocations: 15.98 kB / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.346, allocations: 63.83 kB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.3462, allocations: 43.97 kB / 1.089 GB, free: 468 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.142e-05/0.3462, allocations: 27.8 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.153e-05/0.3463, allocations: 31.86 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.3463, allocations: 4 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.497e-06/0.3463, allocations: 11.94 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.3464, allocations: 15.92 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.844e-05/0.3464, allocations: 39.73 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.3465, allocations: 75.58 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3465, allocations: 0 / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of FrontEnd: time 3.276e-06/0.3465, allocations: 4 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.3466, allocations: 3.938 kB / 1.089 GB, free: 252 kB / 0.8419 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.0004476/0.347, allocations: 375.1 kB / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.347, allocations: 12.03 kB / 1.089 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.3471, allocations: 12.88 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.3473, allocations: 200.2 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.3473, allocations: 4.375 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.3473, allocations: 8.375 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.3475, allocations: 91.89 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.3475, allocations: 192 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3475, allocations: 3.938 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3475, allocations: 4 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.832e-05/0.3476, allocations: 35.98 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000503/0.3481, allocations: 440.7 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.159e-05/0.3482, allocations: 37.22 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.735e-05/0.3482, allocations: 21.81 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-06/0.3482, allocations: 4 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.3483, allocations: 34.56 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.3483, allocations: 0 / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001667/0.3485, allocations: 57.52 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.3485, allocations: 77.11 kB / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.3487, allocations: 161.3 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.3487, allocations: 29.7 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.3488, allocations: 104 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.158e-05/0.3488, allocations: 11.89 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.3488, allocations: 21.66 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3489, allocations: 318.8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.754e-05/0.349, allocations: 4 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.913e-05/0.349, allocations: 17.72 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.555e-05/0.349, allocations: 33.66 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3491, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.626e-05/0.3491, allocations: 57.64 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3492, allocations: 5.719 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3492, allocations: 3.938 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3492, allocations: 7.938 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.893e-05/0.3493, allocations: 7.938 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3493, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.074e-05/0.3493, allocations: 12.02 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.3493, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 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.387e-05/0.3494, allocations: 119.8 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.3494, allocations: 7.953 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.3495, allocations: 15.81 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3495, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3495, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3495, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003602/0.3499, allocations: 478.8 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3499, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.095e-05/0.3499, allocations: 7.984 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3499, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.3499, allocations: 4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3499, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3499, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.165e-05/0.35, allocations: 81.89 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.3501, allocations: 89.05 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.3501, allocations: 4 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.932e-05/0.3501, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.3501, allocations: 4 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.3501, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.919e-05/0.3502, allocations: 120.7 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3502, allocations: 4.031 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001858/0.3504, allocations: 15.89 kB / 1.092 GB, free: 12.77 MB / 0.8575 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.0001051/0.3505, allocations: 103.7 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.403e-05/0.3506, allocations: 19.94 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3506, allocations: 0 / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.135e-05/0.3507, allocations: 8 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.3508, allocations: 8.281 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.3511, allocations: 170.7 kB / 1.092 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.3514, allocations: 0.6885 MB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.676e-05/0.3515, allocations: 12.41 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/0.3515, allocations: 11.44 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3515, allocations: 0 / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of Templates: time 0.002392/0.3539, allocations: 469.8 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches