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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_9_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.0009723/0.0009723, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.007524/0.007524, allocations: 169.2 kB / 16.26 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.254/1.254, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.202/2.202, allocations: 390.9 MB / 0.6664 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.0003141, allocations: 15.98 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5704/0.5707, allocations: 142.4 MB / 0.9552 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.0008213/0.5716, allocations: 0.5376 MB / 0.9557 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.997e-05/0.5717, allocations: 37.34 kB / 0.9557 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.5717, allocations: 9 kB / 0.9557 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.5718, allocations: 4.922 kB / 0.9557 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.435e-05/0.5719, allocations: 5.156 kB / 0.9558 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.762e-05/0.5719, allocations: 18.36 kB / 0.9558 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.085e-05/0.572, allocations: 55.39 kB / 0.9558 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.5721, allocations: 38.27 kB / 0.9559 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.511e-05/0.5722, allocations: 17.78 kB / 0.9559 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.806e-05/0.5722, allocations: 28.56 kB / 0.9559 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.5722, allocations: 1.156 kB / 0.9559 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.692e-06/0.5722, allocations: 2.188 kB / 0.9559 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.5723, allocations: 10.38 kB / 0.9559 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.5723, allocations: 50.34 kB / 0.956 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.399e-05/0.5724, allocations: 71 kB / 0.956 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5724, allocations: 0 / 0.956 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5724, allocations: 1.125 kB / 0.956 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.5724, allocations: 7.875 kB / 0.956 GB, free: 6.934 MB / 0.7169 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.0002689/0.5727, allocations: 365.5 kB / 0.9564 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.5727, allocations: 8.719 kB / 0.9564 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.944e-05/0.5728, allocations: 41.39 kB / 0.9564 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.392e-05/0.5728, allocations: 14.38 kB / 0.9564 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.5729, allocations: 189.6 kB / 0.9566 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.573, allocations: 4.5 kB / 0.9566 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.573, allocations: 8.219 kB / 0.9566 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.5731, allocations: 97.38 kB / 0.9567 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.5731, allocations: 5.281 kB / 0.9567 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.5731, allocations: 4 kB / 0.9567 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5731, allocations: 6.406 kB / 0.9567 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.69e-05/0.5732, allocations: 40.2 kB / 0.9568 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.5736, allocations: 433.6 kB / 0.9572 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.734e-05/0.5736, allocations: 37.66 kB / 0.9572 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.5737, allocations: 23.42 kB / 0.9573 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.231e-06/0.5737, allocations: 0 / 0.9573 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.5737, allocations: 35.62 kB / 0.9573 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.5737, allocations: 0.6562 kB / 0.9573 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001359/0.5738, allocations: 58.39 kB / 0.9574 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.5739, allocations: 78.02 kB / 0.9574 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.574, allocations: 161 kB / 0.9576 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.264e-06/0.574, allocations: 33.64 kB / 0.9576 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.5741, allocations: 104.8 kB / 0.9577 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.232e-06/0.5741, allocations: 5.344 kB / 0.9577 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.699e-05/0.5741, allocations: 13.97 kB / 0.9577 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.75e-05/0.5741, allocations: 321.4 kB / 0.958 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.5741, allocations: 8.188 kB / 0.958 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.546e-05/0.5742, allocations: 17.58 kB / 0.9581 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.371e-05/0.5742, allocations: 31.03 kB / 0.9581 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5742, allocations: 0 / 0.9581 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.714e-05/0.5743, allocations: 58.83 kB / 0.9581 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.5743, allocations: 9.375 kB / 0.9582 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.5743, allocations: 5.359 kB / 0.9582 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.5743, allocations: 0 / 0.9582 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.145e-05/0.5744, allocations: 5.781 kB / 0.9582 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.5744, allocations: 0.9375 kB / 0.9582 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.799e-05/0.5744, allocations: 5.938 kB / 0.9582 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.5744, allocations: 5.281 kB / 0.9582 GB, free: 4.734 MB / 0.7169 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 4.578e-05/0.5745, allocations: 113.2 kB / 0.9583 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.5745, allocations: 20.5 kB / 0.9583 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.13e-05/0.5746, allocations: 14.88 kB / 0.9583 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5746, allocations: 1.469 kB / 0.9583 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.5746, allocations: 0 / 0.9583 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5746, allocations: 0.8438 kB / 0.9583 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.5748, allocations: 473.9 kB / 0.9588 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5749, allocations: 5.031 kB / 0.9588 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.744e-05/0.5749, allocations: 3.062 kB / 0.9588 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5749, allocations: 1.094 kB / 0.9588 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.5749, allocations: 0 / 0.9588 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5749, allocations: 1.031 kB / 0.9588 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5749, allocations: 1.125 kB / 0.9588 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.065e-05/0.575, allocations: 82.33 kB / 0.9589 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.861e-05/0.575, allocations: 95.64 kB / 0.959 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.575, allocations: 4.953 kB / 0.959 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.913e-05/0.5751, allocations: 1.406 kB / 0.959 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.5751, allocations: 1.156 kB / 0.959 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.5751, allocations: 5.531 kB / 0.959 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.122e-05/0.5751, allocations: 118.8 kB / 0.9591 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5752, allocations: 0 / 0.9591 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001796/0.5753, allocations: 7.344 kB / 0.9591 GB, free: 3.781 MB / 0.7169 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.000227/0.5756, allocations: 0.6202 MB / 0.9597 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.625e-05/0.5756, allocations: 13.28 kB / 0.9597 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5756, allocations: 3.969 kB / 0.9597 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.069e-05/0.5757, allocations: 9.938 kB / 0.9597 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.5758, allocations: 8.328 kB / 0.9597 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000821/0.5766, allocations: 1.355 MB / 0.961 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.5768, allocations: 0.6911 MB / 0.9617 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.083e-05/0.5768, allocations: 8.922 kB / 0.9617 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.5768, allocations: 22.72 kB / 0.9618 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5768, allocations: 0 / 0.9618 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009282/0.5861, allocations: 1.357 MB / 0.9631 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001203/0.5863, allocations: 208.7 kB / 0.9633 GB, free: 260 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.925/3.511, allocations: 0 / 0.9633 GB, free: 260 kB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > 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/jenkins1/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