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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001462/0.001462, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001626/0.001626, allocations: 188 kB / 16.13 MB, free: 6.652 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.269/1.269, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.387/2.387, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 67.89 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5391/0.5403, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001925/0.5423, allocations: 0.8937 MB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001112/0.5424, allocations: 39.78 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.297e-05/0.5425, allocations: 0 / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.201e-05/0.5425, allocations: 7.922 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.66e-05/0.5426, allocations: 7.938 kB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.748e-05/0.5427, allocations: 16 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.031e-05/0.5427, allocations: 59.75 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.5429, allocations: 39.97 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.267e-05/0.5429, allocations: 31.78 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.119e-05/0.543, allocations: 23.86 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.543, allocations: 4 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.543, allocations: 4 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.543, allocations: 15.92 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/0.5431, allocations: 35.73 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.371e-05/0.5431, allocations: 70.02 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5432, allocations: 4 kB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of FrontEnd: time 4.91e-07/0.5432, allocations: 0 / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.5432, allocations: 0 / 1.018 GB, free: 1.555 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.0003561/0.5435, allocations: 375.3 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.5436, allocations: 15.98 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.081e-05/0.5436, allocations: 38.69 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.448e-05/0.5436, allocations: 12.84 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.5438, allocations: 200.1 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.5438, allocations: 8.375 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.5439, allocations: 4.375 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.544, allocations: 97.27 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.544, allocations: 3.938 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.544, allocations: 4 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.544, allocations: 7.875 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.54e-05/0.5441, allocations: 31.98 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.5446, allocations: 436.5 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.641e-05/0.5446, allocations: 45.39 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.13e-05/0.5447, allocations: 21.72 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-06/0.5447, allocations: 0 / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.5447, allocations: 30.56 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.5447, allocations: 7.938 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001556/0.5449, allocations: 53.53 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.5449, allocations: 81.3 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.545, allocations: 167.9 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.5451, allocations: 25.7 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.5451, allocations: 99.98 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.5451, allocations: 19.88 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.5452, allocations: 9.719 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.583e-05/0.5453, allocations: 318.8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.5453, allocations: 11.98 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.046e-05/0.5453, allocations: 17.72 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.628e-05/0.5454, allocations: 25.72 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5454, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.078e-05/0.5454, allocations: 61.53 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.5455, allocations: 7.938 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.5455, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.5455, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.431e-05/0.5455, allocations: 12.06 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.5456, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.854e-05/0.5456, allocations: 7.906 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.5456, allocations: 0 / 1.02 GB, free: 15.07 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 6.507e-05/0.5457, allocations: 122.3 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.5457, allocations: 11.84 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.02e-05/0.5457, allocations: 11.88 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.5457, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.5458, allocations: 3.938 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.5458, allocations: 4 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.5461, allocations: 470.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5461, allocations: 3.938 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/0.5461, allocations: 8 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.5461, allocations: 3.984 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-06/0.5461, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.5462, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5462, allocations: 4.062 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.975e-05/0.5462, allocations: 73.94 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.5463, allocations: 104.9 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.5463, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.99e-05/0.5463, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.5464, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.5464, allocations: 8.031 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.837e-05/0.5464, allocations: 121.3 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5465, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001804/0.5466, allocations: 4 kB / 1.021 GB, free: 14.02 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.0002895/0.5469, allocations: 0.6171 MB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.37e-05/0.547, allocations: 19.94 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.547, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.086e-05/0.547, allocations: 7.984 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.5472, allocations: 9.891 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009812/0.5482, allocations: 1.346 MB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.5484, allocations: 0.6926 MB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.052e-05/0.5484, allocations: 12.42 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.5484, allocations: 27.42 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5485, allocations: 0 / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.5656, allocations: 1.413 MB / 1.025 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/0.5658, allocations: 206.2 kB / 1.025 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.158, allocations: 1.266 kB / 1.025 GB, free: 9.559 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.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