Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.005832/0.005832, allocations: 101.8 kB / 15.73 MB, free: 5.516 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.001215/0.001215, allocations: 201.9 kB / 16.68 MB, free: 5.445 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.121 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.716/2.716, allocations: 437 MB / 0.7105 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.89 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2821, allocations: 151.6 MB / 1.166 GB, free: 7.359 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002185/0.2843, allocations: 1.266 MB / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.2856, allocations: 0.8228 MB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.048e-05/0.2856, allocations: 4 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.111e-05/0.2857, allocations: 11.92 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.11e-05/0.2857, allocations: 3.984 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005129/0.2863, allocations: 123.4 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.627e-05/0.2863, allocations: 27.86 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.2864, allocations: 4 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.149e-05/0.2864, allocations: 11.98 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.394e-05/0.2865, allocations: 15.91 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.2865, allocations: 8 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/0.2868, allocations: 155.8 kB / 1.169 GB, free: 4.891 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.2869, allocations: 15.91 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.2869, allocations: 7.938 kB / 1.169 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.2872, allocations: 123.9 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2872, allocations: 0 / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.048e-06/0.2872, allocations: 4 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.2872, allocations: 3.938 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000443/0.2877, allocations: 355.2 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.2877, allocations: 16.03 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.51e-05/0.2877, allocations: 34.75 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.2878, allocations: 8.891 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.2879, allocations: 164.4 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.697e-05/0.288, allocations: 34.25 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.288, allocations: 4.312 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.2881, allocations: 46 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2882, allocations: 0 / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.2882, allocations: 0 / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.2882, allocations: 4 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.2883, allocations: 27.92 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.2885, allocations: 153.7 kB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.2887, allocations: 46.61 kB / 1.17 GB, free: 3.695 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.372e-05/0.2888, allocations: 20.94 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002906/0.289, allocations: 182.2 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.2891, allocations: 34.5 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.2891, allocations: 0 / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002572/0.2894, allocations: 73.59 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.2894, allocations: 51.41 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.081e-05/0.2895, allocations: 97.86 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.2895, allocations: 29.7 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.2895, allocations: 80.14 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.2896, allocations: 19.83 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.2896, allocations: 17.72 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2897, allocations: 310.8 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.346e-05/0.2898, allocations: 11.98 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.331e-05/0.2898, allocations: 8 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.2899, allocations: 32.84 kB / 1.17 GB, free: 2.641 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.29, allocations: 0 / 1.17 GB, free: 2.641 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001428/0.2901, allocations: 57.62 kB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2901, allocations: 11.92 kB / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2901, allocations: 0 / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2902, allocations: 0 / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.111e-05/0.2902, allocations: 8 kB / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2902, allocations: 0 / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.739e-05/0.2903, allocations: 7.891 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.2903, allocations: 4 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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.783e-05/0.2904, allocations: 120.9 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.2904, allocations: 3.938 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.2906, allocations: 69.11 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.2906, allocations: 0 / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2906, allocations: 3.938 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2906, allocations: 0 / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.2907, allocations: 157.7 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.2907, allocations: 0 / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.86e-05/0.2908, allocations: 8 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2908, allocations: 7.938 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.2908, allocations: 0 / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2908, allocations: 3.984 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2908, allocations: 3.984 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.291, allocations: 89.58 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.2911, allocations: 85.03 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.2911, allocations: 4 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.972e-05/0.2911, allocations: 4 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.2912, allocations: 7.984 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-06/0.2912, allocations: 4 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.713e-05/0.2912, allocations: 87.31 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2912, allocations: 0 / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002419/0.2915, allocations: 31.81 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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 Backend phase and start with SimCode phase: time 0.0005368/0.292, allocations: 0.663 MB / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001503/0.2922, allocations: 27.92 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2922, allocations: 0 / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.923e-05/0.2923, allocations: 15.98 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.2925, allocations: 12.11 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/0.293, allocations: 168.5 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.2932, allocations: 0.6806 MB / 1.173 GB, free: 112 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.285e-05/0.2933, allocations: 4 kB / 1.173 GB, free: 108 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.2933, allocations: 19.44 kB / 1.173 GB, free: 88 kB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.2933, allocations: 0 / 1.173 GB, free: 88 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.3105, allocations: 1.939 MB / 1.175 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/7.795, allocations: 6.453 kB / 1.175 GB, free: 14.25 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches