Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001262/0.001263, allocations: 102.2 kB / 16.27 MB, free: 5.859 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.001236/0.001236, allocations: 188.7 kB / 17.19 MB, free: 5.508 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.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.483/2.483, allocations: 437.1 MB / 0.7111 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.00195, allocations: 67.92 kB / 0.8699 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3188, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002215/0.321, allocations: 0.8233 MB / 1.019 GB, free: 9.77 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001038/0.3212, allocations: 35.86 kB / 1.019 GB, free: 9.734 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.3212, allocations: 0 / 1.019 GB, free: 9.734 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.485e-05/0.3213, allocations: 11.88 kB / 1.019 GB, free: 9.723 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.152e-05/0.3214, allocations: 7.875 kB / 1.019 GB, free: 9.715 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.188e-05/0.3214, allocations: 23.97 kB / 1.019 GB, free: 9.691 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.3215, allocations: 63.75 kB / 1.019 GB, free: 9.629 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.3217, allocations: 47.97 kB / 1.019 GB, free: 9.582 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.741e-05/0.3218, allocations: 31.8 kB / 1.019 GB, free: 9.551 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.078e-05/0.3218, allocations: 27.84 kB / 1.019 GB, free: 9.523 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.3218, allocations: 7.938 kB / 1.019 GB, free: 9.516 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.902e-05/0.3219, allocations: 8 kB / 1.019 GB, free: 9.508 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.3219, allocations: 11.94 kB / 1.019 GB, free: 9.496 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.785e-05/0.3219, allocations: 39.73 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.322, allocations: 64.05 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3221, allocations: 0 / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3221, allocations: 4 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3221, allocations: 0 / 1.019 GB, free: 9.391 MB / 0.795 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.000484/0.3226, allocations: 383.2 kB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3226, allocations: 12.62 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.3226, allocations: 8.844 kB / 1.02 GB, free: 8.945 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.3229, allocations: 188.2 kB / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.3229, allocations: 4.375 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.3229, allocations: 8.375 kB / 1.02 GB, free: 8.711 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3231, allocations: 111.7 kB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3231, allocations: 192 / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3231, allocations: 3.938 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.3231, allocations: 4 kB / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.021e-05/0.3232, allocations: 39.97 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005705/0.3238, allocations: 444.5 kB / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.913e-05/0.3239, allocations: 37.22 kB / 1.02 GB, free: 8 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.728e-05/0.3239, allocations: 13.78 kB / 1.02 GB, free: 7.98 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.3239, allocations: 3.984 kB / 1.02 GB, free: 7.977 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.324, allocations: 46.59 kB / 1.02 GB, free: 7.922 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.324, allocations: 0 / 1.02 GB, free: 7.922 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001901/0.3242, allocations: 53.48 kB / 1.02 GB, free: 7.863 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.3242, allocations: 77.11 kB / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.3244, allocations: 160.9 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.3244, allocations: 25.7 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/0.3245, allocations: 104 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/0.3245, allocations: 12.16 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.3246, allocations: 17.72 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3247, allocations: 318.8 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.987e-05/0.3248, allocations: 4 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-05/0.3248, allocations: 21.7 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.935e-05/0.3249, allocations: 25.66 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3249, allocations: 4 kB / 1.021 GB, free: 7.043 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.554e-05/0.325, allocations: 57.61 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.325, allocations: 6.5 kB / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.325, allocations: 7.922 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.325, allocations: 7.938 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.85e-05/0.3251, allocations: 7.938 kB / 1.021 GB, free: 6.953 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.3251, allocations: 0 / 1.021 GB, free: 6.953 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.5e-05/0.3252, allocations: 11.84 kB / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.3252, allocations: 0 / 1.021 GB, free: 6.941 MB / 0.795 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 0.0001086/0.3253, allocations: 117.9 kB / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.3253, allocations: 7.906 kB / 1.021 GB, free: 6.809 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.3254, allocations: 19.8 kB / 1.021 GB, free: 6.789 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3254, allocations: 0 / 1.021 GB, free: 6.789 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3254, allocations: 3.938 kB / 1.021 GB, free: 6.785 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3254, allocations: 0 / 1.021 GB, free: 6.785 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.3259, allocations: 470.8 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3259, allocations: 0 / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.028e-05/0.3259, allocations: 4 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3259, allocations: 0 / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.3259, allocations: 0 / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3259, allocations: 4 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3259, allocations: 0 / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.326, allocations: 89.83 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/0.3261, allocations: 85.02 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.3261, allocations: 3.984 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.997e-05/0.3262, allocations: 0 / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.3262, allocations: 4 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.3262, allocations: 8 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001038/0.3263, allocations: 121.1 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3263, allocations: 0 / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001869/0.3265, allocations: 8 kB / 1.022 GB, free: 5.902 MB / 0.795 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.0001184/0.3266, allocations: 99.28 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.929e-05/0.3267, allocations: 19.94 kB / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3267, allocations: 0 / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.224e-05/0.3268, allocations: 7.984 kB / 1.022 GB, free: 5.766 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.3269, allocations: 7.938 kB / 1.022 GB, free: 5.758 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003524/0.3273, allocations: 184.8 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.3276, allocations: 0.6924 MB / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.3277, allocations: 15.42 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.3277, allocations: 4 kB / 1.023 GB, free: 4.801 MB / 0.795 GB Notification: Performance of Templates: time 0.002555/0.3302, allocations: 0.8614 MB / 1.024 GB, free: 3.941 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches