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.01099/0.01099, allocations: 100.3 kB / 15.73 MB, free: 6.469 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.001887/0.001887, allocations: 193.5 kB / 16.67 MB, free: 6.379 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.612/2.612, allocations: 390.2 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 62.81 kB / 0.9509 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3639, allocations: 140.4 MB / 1.088 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002205/0.3661, allocations: 0.8176 MB / 1.089 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001278/0.3663, allocations: 47.78 kB / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.994e-05/0.3663, allocations: 0 / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.337e-05/0.3664, allocations: 11.86 kB / 1.089 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.854e-05/0.3665, allocations: 7.938 kB / 1.089 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.708e-05/0.3666, allocations: 15.98 kB / 1.089 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.3667, allocations: 75.78 kB / 1.089 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.3669, allocations: 43.94 kB / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.706e-05/0.367, allocations: 23.88 kB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.408e-05/0.367, allocations: 31.84 kB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.367, allocations: 8 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.353e-05/0.3671, allocations: 4 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.3671, allocations: 11.94 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.241e-05/0.3671, allocations: 39.73 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.3673, allocations: 79.58 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.3673, allocations: 0 / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3673, allocations: 0 / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.3673, allocations: 0 / 1.089 GB, free: 340 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.0005103/0.3678, allocations: 375.3 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3679, allocations: 8.031 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.3679, allocations: 20.75 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.3682, allocations: 196.1 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.3682, allocations: 8.375 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.3683, allocations: 4.375 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.3684, allocations: 93.52 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3685, allocations: 192 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.3685, allocations: 7.938 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.3685, allocations: 4 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.507e-05/0.3686, allocations: 35.92 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006371/0.3692, allocations: 436.5 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.382e-05/0.3693, allocations: 41.27 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/0.3694, allocations: 25.84 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.3694, allocations: 0 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.3694, allocations: 30.56 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3694, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002125/0.3697, allocations: 61.47 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.3697, allocations: 85.3 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.3699, allocations: 161.3 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.3699, allocations: 25.7 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/0.37, allocations: 96.05 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.3701, allocations: 15.83 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.3701, allocations: 13.72 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3703, allocations: 322.8 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.3703, allocations: 11.98 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.3703, allocations: 21.7 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.303e-05/0.3704, allocations: 25.72 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3704, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.307e-05/0.3705, allocations: 57.53 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3705, allocations: 8 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3705, allocations: 3.938 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3705, allocations: 4.062 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.737e-05/0.3706, allocations: 8 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3706, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.976e-05/0.3707, allocations: 7.844 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.3707, allocations: 8 kB / 1.091 GB, free: 13.89 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.832e-05/0.3708, allocations: 109.8 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.3708, allocations: 11.89 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.3708, allocations: 11.81 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-06/0.3709, allocations: 4 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3709, allocations: 7.938 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.3709, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.3713, allocations: 466.8 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.3713, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.998e-05/0.3713, allocations: 7.938 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3713, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.3713, allocations: 3.984 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3714, allocations: 64 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3714, allocations: 12 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.439e-05/0.3715, allocations: 73.84 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.3715, allocations: 89 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.3715, allocations: 4 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.961e-05/0.3716, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.3716, allocations: 4.031 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.3716, allocations: 4 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.252e-05/0.3717, allocations: 121 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.144e-06/0.3717, allocations: 0 / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000182/0.3719, allocations: 11.94 kB / 1.092 GB, free: 12.86 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.0001509/0.3721, allocations: 103.8 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.75e-05/0.3722, allocations: 19.92 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3722, allocations: 128 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.218e-05/0.3722, allocations: 11.94 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.3724, allocations: 13.83 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003505/0.3727, allocations: 158.8 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.373, allocations: 0.6924 MB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.86e-05/0.3731, allocations: 12.56 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.3731, allocations: 7.438 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of SimCode: time 8.72e-07/0.3731, allocations: 4 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of Templates: time 0.002766/0.3759, allocations: 474 kB / 1.094 GB, free: 11.31 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