Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_latest_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.001276/0.001276, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.636/2.636, allocations: 469.4 MB / 0.742 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.28 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2376, allocations: 159.2 MB / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002035/0.2397, allocations: 1.262 MB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.2408, allocations: 0.8311 MB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.842e-05/0.2408, allocations: 0 / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.213e-05/0.2408, allocations: 4 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.593e-05/0.2409, allocations: 7.922 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004394/0.2413, allocations: 135.4 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.44e-05/0.2414, allocations: 19.92 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.202e-05/0.2414, allocations: 0 / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.537e-05/0.2414, allocations: 15.94 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.071e-05/0.2415, allocations: 15.91 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.2415, allocations: 3.938 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003007/0.2418, allocations: 171.8 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.2418, allocations: 0 / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.2419, allocations: 19.91 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.2421, allocations: 112 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2421, allocations: 0 / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.385e-06/0.2421, allocations: 0 / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.2421, allocations: 3.938 kB / 1.066 GB, free: 11.84 MB / 0.8262 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.0003611/0.2425, allocations: 355.5 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.2425, allocations: 8.031 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.084e-05/0.2426, allocations: 42.75 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.2426, allocations: 8.828 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.668e-05/0.2427, allocations: 164.4 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.989e-05/0.2428, allocations: 26.27 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.2428, allocations: 4.375 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.2429, allocations: 49.94 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.77e-06/0.2429, allocations: 0 / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.2429, allocations: 3.984 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2429, allocations: 0 / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.982e-05/0.243, allocations: 23.98 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.2432, allocations: 153.7 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.2434, allocations: 46.56 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.2434, allocations: 16.86 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002554/0.2437, allocations: 182.3 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.2437, allocations: 42.44 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2437, allocations: 0 / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002229/0.244, allocations: 65.67 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.244, allocations: 51.41 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.372e-05/0.2441, allocations: 106 kB / 1.067 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.2441, allocations: 25.7 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.254e-05/0.2441, allocations: 84.14 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.2441, allocations: 11.81 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.2442, allocations: 13.72 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.126e-05/0.2442, allocations: 322.8 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.708e-05/0.2443, allocations: 4 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.92e-05/0.2443, allocations: 11.92 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.087e-05/0.2444, allocations: 36.78 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2445, allocations: 8 kB / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001243/0.2446, allocations: 49.69 kB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2446, allocations: 7.938 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2446, allocations: 4 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.2446, allocations: 0 / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.124e-05/0.2447, allocations: 15.92 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.2447, allocations: 0 / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.2447, allocations: 11.84 kB / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.2447, allocations: 0 / 1.068 GB, free: 9.648 MB / 0.8262 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 5.817e-05/0.2448, allocations: 117.8 kB / 1.068 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.2448, allocations: 3.938 kB / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.245, allocations: 73.16 kB / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.245, allocations: 0 / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.245, allocations: 0 / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.245, allocations: 0 / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.106e-05/0.2451, allocations: 153.7 kB / 1.068 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2451, allocations: 3.984 kB / 1.068 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.513e-05/0.2452, allocations: 12 kB / 1.068 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2452, allocations: 3.938 kB / 1.068 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.2452, allocations: 0 / 1.068 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2452, allocations: 4 kB / 1.068 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2452, allocations: 0 / 1.068 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.2454, allocations: 85.05 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.2454, allocations: 84.95 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.2454, allocations: 0 / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.992e-05/0.2455, allocations: 11.98 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.2455, allocations: 4 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.2455, allocations: 4 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.884e-05/0.2456, allocations: 75.7 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2456, allocations: 0 / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002316/0.2458, allocations: 39.92 kB / 1.069 GB, free: 8.883 MB / 0.8262 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.0004443/0.2463, allocations: 0.6599 MB / 1.069 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.2464, allocations: 35.95 kB / 1.069 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2464, allocations: 0 / 1.069 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.108e-05/0.2465, allocations: 15.94 kB / 1.069 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.2467, allocations: 9.859 kB / 1.069 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.247, allocations: 168.8 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.2472, allocations: 0.6729 MB / 1.07 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.21e-05/0.2473, allocations: 8 kB / 1.07 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.2473, allocations: 15.42 kB / 1.07 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2473, allocations: 0 / 1.07 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5585/0.8058, allocations: 1.914 MB / 1.072 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.677/9.483, allocations: 2.625 kB / 1.072 GB, free: 5.387 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches