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.001136/0.001136, allocations: 106.2 kB / 16.27 MB, free: 6.41 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.001181/0.001181, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.404/1.404, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.425/2.425, allocations: 437 MB / 0.711 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 64.16 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3217, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002165/0.3239, allocations: 0.8373 MB / 1.019 GB, free: 9.773 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001253/0.324, allocations: 31.86 kB / 1.019 GB, free: 9.742 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.686e-05/0.3241, allocations: 4 kB / 1.019 GB, free: 9.738 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.477e-05/0.3242, allocations: 11.86 kB / 1.019 GB, free: 9.727 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.849e-05/0.3243, allocations: 11.86 kB / 1.019 GB, free: 9.715 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.122e-05/0.3243, allocations: 19.98 kB / 1.019 GB, free: 9.695 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.947e-05/0.3244, allocations: 63.75 kB / 1.019 GB, free: 9.633 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.3246, allocations: 47.97 kB / 1.019 GB, free: 9.586 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.413e-05/0.3246, allocations: 31.8 kB / 1.019 GB, free: 9.555 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.452e-05/0.3247, allocations: 23.86 kB / 1.019 GB, free: 9.531 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.3247, allocations: 8 kB / 1.019 GB, free: 9.523 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.28e-05/0.3248, allocations: 4 kB / 1.019 GB, free: 9.52 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.3248, allocations: 19.92 kB / 1.019 GB, free: 9.5 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.3248, allocations: 39.73 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.3249, allocations: 68.05 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.325, allocations: 0 / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.353e-06/0.325, allocations: 0 / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.325, allocations: 0 / 1.019 GB, free: 9.395 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.0004215/0.3254, allocations: 377.5 kB / 1.019 GB, free: 8.977 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3255, allocations: 12.91 kB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.3255, allocations: 12.84 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.3257, allocations: 192.2 kB / 1.02 GB, free: 8.727 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.3257, allocations: 12.31 kB / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.3258, allocations: 4.375 kB / 1.02 GB, free: 8.711 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.3259, allocations: 102.3 kB / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.3259, allocations: 192 / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.326, allocations: 11.86 kB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.326, allocations: 0 / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.811e-05/0.3261, allocations: 35.98 kB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005278/0.3266, allocations: 440.5 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.675e-05/0.3267, allocations: 37.16 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.939e-05/0.3267, allocations: 25.84 kB / 1.02 GB, free: 7.984 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.3267, allocations: 0 / 1.02 GB, free: 7.984 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.3268, allocations: 38.58 kB / 1.02 GB, free: 7.938 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3268, allocations: 0 / 1.02 GB, free: 7.938 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0002173/0.327, allocations: 57.48 kB / 1.02 GB, free: 7.875 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.3271, allocations: 77.36 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.3272, allocations: 162.2 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.3272, allocations: 25.7 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.3273, allocations: 104 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.3273, allocations: 7.906 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.3274, allocations: 13.72 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3275, allocations: 322.8 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.083e-05/0.3275, allocations: 8 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.156e-05/0.3275, allocations: 17.72 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.362e-05/0.3276, allocations: 33.64 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3276, allocations: 0 / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.631e-05/0.3277, allocations: 53.61 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3277, allocations: 4 kB / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3277, allocations: 3.938 kB / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3277, allocations: 0 / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.518e-05/0.3278, allocations: 16.05 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3278, allocations: 3.938 kB / 1.021 GB, free: 6.965 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.446e-05/0.3279, allocations: 7.844 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.3279, allocations: 4 kB / 1.021 GB, free: 6.953 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 7.045e-05/0.3279, allocations: 113.8 kB / 1.021 GB, free: 6.832 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.328, allocations: 7.906 kB / 1.021 GB, free: 6.824 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.328, allocations: 19.8 kB / 1.021 GB, free: 6.805 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.328, allocations: 4 kB / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.328, allocations: 0 / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.328, allocations: 4.094 kB / 1.021 GB, free: 6.797 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003674/0.3284, allocations: 474.7 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3284, allocations: 7.922 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.236e-05/0.3285, allocations: 4 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3285, allocations: 0 / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.3285, allocations: 0 / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3285, allocations: 0 / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3285, allocations: 4 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.015e-05/0.3286, allocations: 85.83 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.3286, allocations: 85.02 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.3287, allocations: 4 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.615e-05/0.3287, allocations: 3.984 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.3287, allocations: 0 / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3287, allocations: 8.031 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.151e-05/0.3288, allocations: 117.5 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3288, allocations: 4 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001982/0.329, allocations: 4 kB / 1.022 GB, free: 5.91 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.0001077/0.3291, allocations: 99.25 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.485e-05/0.3292, allocations: 15.94 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3292, allocations: 0 / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.469e-05/0.3292, allocations: 12.12 kB / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.3294, allocations: 11.94 kB / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/0.3297, allocations: 180.5 kB / 1.022 GB, free: 5.547 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.33, allocations: 0.6969 MB / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.33, allocations: 11.44 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of SimCode: time 3.2e-07/0.33, allocations: 0 / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of Templates: time 0.002279/0.3323, allocations: 0.8574 MB / 1.024 GB, free: 3.957 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=480 -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