Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_psi,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_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.008278/0.008278, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001691/0.001691, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.11 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.478/2.478, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 64.11 kB / 1.018 GB, free: 9.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6873/0.6888, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001967/0.6908, allocations: 0.8267 MB / 1.167 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001344/0.691, allocations: 47.78 kB / 1.167 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.608e-05/0.691, allocations: 0 / 1.167 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.092e-05/0.6911, allocations: 7.875 kB / 1.167 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.172e-05/0.6912, allocations: 7.922 kB / 1.167 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.562e-05/0.6912, allocations: 15.98 kB / 1.167 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.6913, allocations: 67.78 kB / 1.167 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.6915, allocations: 43.97 kB / 1.167 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.834e-05/0.6916, allocations: 23.92 kB / 1.167 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.947e-05/0.6916, allocations: 27.8 kB / 1.167 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.6917, allocations: 8 kB / 1.167 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.498e-06/0.6917, allocations: 8 kB / 1.167 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.6917, allocations: 19.92 kB / 1.167 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.6917, allocations: 23.81 kB / 1.167 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.6919, allocations: 87.27 kB / 1.167 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6919, allocations: 0 / 1.167 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6919, allocations: 0 / 1.167 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.6919, allocations: 3.938 kB / 1.167 GB, free: 2.547 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.0004176/0.6923, allocations: 379.1 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.6924, allocations: 8.922 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.068e-05/0.6924, allocations: 42.73 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.6925, allocations: 16.84 kB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.6927, allocations: 204.1 kB / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.6927, allocations: 384 / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.6927, allocations: 16.36 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.6929, allocations: 86.39 kB / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.6929, allocations: 3.938 kB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.6929, allocations: 4 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.6929, allocations: 4 kB / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.541e-05/0.693, allocations: 43.92 kB / 1.168 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/0.6935, allocations: 436.6 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.323e-05/0.6936, allocations: 45.34 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.039e-05/0.6936, allocations: 21.77 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.6936, allocations: 0 / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.6937, allocations: 34.56 kB / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.6937, allocations: 0 / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001675/0.6939, allocations: 57.53 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.6939, allocations: 77.11 kB / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.694, allocations: 160.9 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.6941, allocations: 29.7 kB / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/0.6941, allocations: 104.1 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.314e-06/0.6941, allocations: 3.953 kB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.6942, allocations: 21.7 kB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.37e-05/0.6943, allocations: 314.8 kB / 1.169 GB, free: 232 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.6943, allocations: 11.92 kB / 1.169 GB, free: 220 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.313e-05/0.6943, allocations: 21.72 kB / 1.169 GB, free: 192 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.836e-05/0.6944, allocations: 25.72 kB / 1.169 GB, free: 160 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6944, allocations: 0 / 1.169 GB, free: 160 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.304e-05/0.6945, allocations: 65.53 kB / 1.169 GB, free: 88 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.6945, allocations: 7.938 kB / 1.169 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6945, allocations: 0 / 1.169 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6945, allocations: 4 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.834e-05/0.6946, allocations: 8.062 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.6946, allocations: 0 / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.238e-05/0.6946, allocations: 11.97 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.6947, allocations: 0 / 1.17 GB, free: 56 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 8.607e-05/0.6947, allocations: 113.8 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.6948, allocations: 19.81 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.6948, allocations: 15.86 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.6948, allocations: 0 / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.6949, allocations: 0 / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.6949, allocations: 3.938 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/0.6952, allocations: 470.8 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.6952, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.204e-05/0.6953, allocations: 7.938 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.6953, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.6953, allocations: 4 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6953, allocations: 0 / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6953, allocations: 3.984 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.475e-05/0.6954, allocations: 81.95 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.6954, allocations: 89.05 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.6955, allocations: 0 / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.014e-05/0.6955, allocations: 0 / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.6955, allocations: 4 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.6955, allocations: 4 kB / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8e-05/0.6956, allocations: 133.7 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6956, allocations: 0 / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001951/0.6958, allocations: 8 kB / 1.17 GB, free: 15 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.0003481/0.6962, allocations: 0.6133 MB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.401e-05/0.6962, allocations: 19.94 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.6963, allocations: 0 / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.029e-05/0.6963, allocations: 4 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.0001582/0.6964, allocations: 16.56 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.6975, allocations: 1.343 MB / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.6977, allocations: 0.6924 MB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.14e-05/0.6978, allocations: 8.422 kB / 1.173 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.6978, allocations: 19.44 kB / 1.173 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.6978, allocations: 0 / 1.173 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.7141, allocations: 1.572 MB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.221/7.935, allocations: 17.89 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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_From_psi.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches