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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.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.583/2.583, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 67.91 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6285/0.6302, allocations: 151.6 MB / 1.017 GB, free: 2.613 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001997/0.6322, allocations: 0.8327 MB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001054/0.6323, allocations: 43.8 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.682e-05/0.6324, allocations: 0 / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.581e-05/0.6324, allocations: 7.875 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.286e-05/0.6325, allocations: 7.922 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.361e-05/0.6326, allocations: 19.97 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.097e-05/0.6327, allocations: 63.8 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.6328, allocations: 47.95 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.921e-05/0.6329, allocations: 23.88 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.42e-05/0.6329, allocations: 27.84 kB / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.6329, allocations: 4 kB / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.6329, allocations: 12 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.633, allocations: 11.94 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.633, allocations: 43.72 kB / 1.019 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.793e-05/0.6331, allocations: 62.03 kB / 1.019 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6331, allocations: 0 / 1.019 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6331, allocations: 0 / 1.019 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.758e-06/0.6331, allocations: 0 / 1.019 GB, free: 1.418 MB / 0.7637 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.000375/0.6335, allocations: 389 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.6336, allocations: 12.03 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.806e-05/0.6336, allocations: 38.75 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.6336, allocations: 12.84 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.6338, allocations: 192.2 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.6338, allocations: 4.375 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.6339, allocations: 12.38 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.634, allocations: 93.36 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.634, allocations: 11.88 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.634, allocations: 4 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.634, allocations: 4 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.098e-05/0.6341, allocations: 39.92 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004608/0.6346, allocations: 436.6 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.317e-05/0.6347, allocations: 41.2 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.568e-05/0.6347, allocations: 21.88 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.6347, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.6347, allocations: 34.56 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.6347, allocations: 0 / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001528/0.6349, allocations: 61.66 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.635, allocations: 81.17 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.6351, allocations: 162.2 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.6351, allocations: 29.7 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.6352, allocations: 104 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.626e-06/0.6352, allocations: 3.906 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.6352, allocations: 17.72 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.6353, allocations: 326.8 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.6354, allocations: 8 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.385e-05/0.6354, allocations: 21.66 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.818e-05/0.6354, allocations: 25.66 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6354, allocations: 0 / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.526e-05/0.6355, allocations: 61.59 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.6356, allocations: 11.88 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6356, allocations: 4.062 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.6356, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.886e-05/0.6356, allocations: 8 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.6357, allocations: 3.984 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/0.6357, allocations: 3.906 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.6357, allocations: 4 kB / 1.021 GB, free: 14.91 MB / 0.7794 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.2e-05/0.6358, allocations: 113.8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.6358, allocations: 11.84 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.6359, allocations: 7.875 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.6359, allocations: 8 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6359, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.6359, allocations: 3.938 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003542/0.6362, allocations: 470.8 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6362, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.953e-05/0.6363, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.6363, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.6363, allocations: 4.062 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.6363, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.6363, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.023e-05/0.6364, allocations: 85.77 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.6364, allocations: 84.95 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.6365, allocations: 11.94 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.06e-05/0.6365, allocations: 0 / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.6365, allocations: 4.031 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.6365, allocations: 3.984 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.932e-05/0.6366, allocations: 122.5 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6366, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001919/0.6368, allocations: 8 kB / 1.022 GB, free: 13.87 MB / 0.7794 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.0003129/0.6371, allocations: 0.6209 MB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.955e-05/0.6372, allocations: 19.98 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.6372, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-05/0.6372, allocations: 7.938 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.6374, allocations: 4 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.6384, allocations: 1.322 MB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.6386, allocations: 0.7002 MB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.826e-05/0.6386, allocations: 4.438 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.6387, allocations: 23.42 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6387, allocations: 0 / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.6556, allocations: 1.54 MB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.16/7.815, allocations: 11.88 kB / 1.026 GB, free: 9.535 MB / 0.7794 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.csv","/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