Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.Examples.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_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.005204/0.005204, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001221/0.001221, allocations: 202.3 kB / 16.68 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.792/2.792, allocations: 469.4 MB / 0.7422 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001406, allocations: 67.89 kB / 1.064 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2833, allocations: 159.1 MB / 1.22 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002577/0.2859, allocations: 1.498 MB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.2871, allocations: 0.8099 MB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.2872, allocations: 4 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.2873, allocations: 7.938 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.499e-05/0.2873, allocations: 7.875 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005237/0.2878, allocations: 131.4 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.436e-05/0.288, allocations: 47.84 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.798e-05/0.2881, allocations: 19.92 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.03e-05/0.2881, allocations: 23.94 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.061e-05/0.2882, allocations: 23.91 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.2882, allocations: 7.938 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003473/0.2885, allocations: 171.8 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.2886, allocations: 7.984 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.235e-05/0.2886, allocations: 19.88 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.2889, allocations: 147.5 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2889, allocations: 3.938 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2889, allocations: 0 / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.2889, allocations: 0 / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005444/0.2895, allocations: 408.7 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2895, allocations: 12.02 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.763e-05/0.2896, allocations: 34.75 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.2896, allocations: 4.938 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.2897, allocations: 168.3 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.2897, allocations: 4.375 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.2898, allocations: 4.375 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.29, allocations: 74.2 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.29, allocations: 11.88 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.2901, allocations: 0 / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2901, allocations: 3.938 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.2904, allocations: 71.91 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.2907, allocations: 288.7 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.291, allocations: 58.53 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.2911, allocations: 40.84 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001797/0.2913, allocations: 93.09 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.2914, allocations: 34.56 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.2914, allocations: 0 / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005661/0.2919, allocations: 133.5 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.292, allocations: 55.41 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.2921, allocations: 117.8 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.2921, allocations: 25.7 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.203e-05/0.2922, allocations: 88.14 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.2923, allocations: 11.94 kB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.2923, allocations: 17.72 kB / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2924, allocations: 318.8 kB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.2926, allocations: 39.89 kB / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.2927, allocations: 31.97 kB / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.293, allocations: 64.78 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.293, allocations: 0 / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003389/0.2934, allocations: 105.6 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2934, allocations: 4 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2934, allocations: 0 / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.2934, allocations: 0 / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.2936, allocations: 19.97 kB / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2936, allocations: 3.938 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.412e-05/0.2937, allocations: 15.98 kB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.2937, allocations: 0 / 1.225 GB, free: 9.223 MB / 0.9825 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 (3): * Single equations (assignments): 3 * 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.2938, allocations: 119.2 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.2938, allocations: 3.953 kB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003788/0.2942, allocations: 109.5 kB / 1.225 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2942, allocations: 0 / 1.225 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2942, allocations: 4 kB / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2942, allocations: 4 kB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.2944, allocations: 173.6 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2944, allocations: 0 / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.2945, allocations: 11.98 kB / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.2945, allocations: 4 kB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.2946, allocations: 3.984 kB / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.2946, allocations: 3.938 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2946, allocations: 3.938 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.2949, allocations: 195.8 kB / 1.225 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.295, allocations: 85.06 kB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.295, allocations: 4 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.2952, allocations: 19.95 kB / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.2952, allocations: 11.98 kB / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.2952, allocations: 0 / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.809e-05/0.2953, allocations: 95.27 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2953, allocations: 0 / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002824/0.2956, allocations: 27.88 kB / 1.226 GB, free: 8.254 MB / 0.9825 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 (3): * Single equations (assignments): 3 * 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.0007364/0.2963, allocations: 0.7669 MB / 1.226 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003503/0.2967, allocations: 71.91 kB / 1.226 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2967, allocations: 0 / 1.226 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.2969, allocations: 39.97 kB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.2972, allocations: 11.94 kB / 1.227 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.299, allocations: 1.429 MB / 1.228 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.2992, allocations: 0.6807 MB / 1.229 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.718e-05/0.2993, allocations: 3.984 kB / 1.229 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.2993, allocations: 19.44 kB / 1.229 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.2993, allocations: 0 / 1.229 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/0.3177, allocations: 2.458 MB / 1.231 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.487/7.805, allocations: 11.38 kB / 1.231 GB, free: 2.738 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.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_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches