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.005157/0.005157, allocations: 106.2 kB / 15.74 MB, free: 6.02 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.001542/0.001542, allocations: 193.5 kB / 16.67 MB, free: 5.934 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.647/2.647, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 71.83 kB / 1.018 GB, free: 9.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6983/0.7003, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001965/0.7023, allocations: 0.8327 MB / 1.167 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001093/0.7024, allocations: 47.78 kB / 1.167 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.625e-05/0.7024, allocations: 0 / 1.167 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.547e-05/0.7025, allocations: 7.875 kB / 1.167 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.209e-05/0.7026, allocations: 7.922 kB / 1.167 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.637e-05/0.7026, allocations: 15.98 kB / 1.167 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.7028, allocations: 67.78 kB / 1.167 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.7029, allocations: 39.98 kB / 1.167 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.002e-05/0.703, allocations: 31.84 kB / 1.167 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.56e-05/0.703, allocations: 27.84 kB / 1.167 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.7031, allocations: 8 kB / 1.167 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.7031, allocations: 8 kB / 1.167 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.7031, allocations: 15.94 kB / 1.167 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.7032, allocations: 39.67 kB / 1.167 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.7033, allocations: 71.36 kB / 1.167 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.7033, allocations: 0 / 1.167 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7033, allocations: 0 / 1.167 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.7033, allocations: 0 / 1.167 GB, free: 2.559 MB / 0.8887 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.0004663/0.7038, allocations: 383.1 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.7038, allocations: 12.92 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.403e-05/0.7039, allocations: 34.75 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.7039, allocations: 16.84 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.7041, allocations: 204.1 kB / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.7042, allocations: 4.375 kB / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.7042, allocations: 8.375 kB / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.7044, allocations: 88.89 kB / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.7044, allocations: 3.938 kB / 1.168 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.7044, allocations: 11.94 kB / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.7044, allocations: 0 / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.684e-05/0.7045, allocations: 43.92 kB / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.7051, allocations: 432.6 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.173e-05/0.7051, allocations: 41.28 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.7052, allocations: 29.84 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.7052, allocations: 0 / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.7052, allocations: 30.56 kB / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 2.855e-06/0.7052, allocations: 0 / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001737/0.7054, allocations: 61.52 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.7055, allocations: 85.3 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.7057, allocations: 160.3 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.7057, allocations: 25.7 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.374e-05/0.7058, allocations: 104.1 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.957e-06/0.7058, allocations: 7.938 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.7058, allocations: 17.72 kB / 1.169 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.706, allocations: 322.8 kB / 1.169 GB, free: 232 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.706, allocations: 0 / 1.169 GB, free: 232 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.548e-05/0.706, allocations: 29.66 kB / 1.169 GB, free: 196 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.282e-05/0.7061, allocations: 21.72 kB / 1.169 GB, free: 168 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.7061, allocations: 0 / 1.169 GB, free: 168 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.356e-05/0.7062, allocations: 65.53 kB / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.7062, allocations: 11.94 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.7062, allocations: 0 / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.7062, allocations: 0 / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.781e-05/0.7063, allocations: 4.062 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.7063, allocations: 8 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.05e-05/0.7064, allocations: 3.938 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.7064, allocations: 4 kB / 1.17 GB, free: 64 kB / 0.8887 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.0001043/0.7065, allocations: 117.8 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.7065, allocations: 11.89 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.7066, allocations: 11.88 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.7066, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.7066, allocations: 4 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.7066, allocations: 4 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.707, allocations: 470.7 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.707, allocations: 96 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.262e-05/0.7071, allocations: 7.984 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.7071, allocations: 3.984 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/0.7071, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.7071, allocations: 3.938 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.7071, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.699e-05/0.7072, allocations: 81.95 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.7073, allocations: 89.05 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.7073, allocations: 7.938 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.066e-05/0.7073, allocations: 0 / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.7073, allocations: 0 / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.7073, allocations: 0 / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001114/0.7075, allocations: 131.5 kB / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7075, allocations: 0 / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001943/0.7077, allocations: 8 kB / 1.17 GB, free: 15.01 MB / 0.9044 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.0004114/0.7081, allocations: 0.6133 MB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.285e-05/0.7082, allocations: 19.92 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.7082, allocations: 4 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.12e-05/0.7082, allocations: 11.94 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.7084, allocations: 4 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.7097, allocations: 1.341 MB / 1.172 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.71, allocations: 0.6924 MB / 1.173 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.7101, allocations: 8.422 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.7101, allocations: 23.44 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.7101, allocations: 0 / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.7321, allocations: 1.571 MB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.777/8.509, allocations: 7.859 kB / 1.175 GB, free: 10.66 MB / 0.9044 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