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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.007923/0.007923, allocations: 96.7 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.002057/0.002057, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 71.83 kB / 1.083 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3216, allocations: 162.2 MB / 1.241 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003091/0.3248, allocations: 1.501 MB / 1.243 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.3262, allocations: 0.8138 MB / 1.244 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/0.3263, allocations: 0 / 1.244 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.443e-05/0.3263, allocations: 3.938 kB / 1.244 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.361e-05/0.3264, allocations: 11.92 kB / 1.244 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005448/0.3269, allocations: 131.4 kB / 1.244 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.327, allocations: 51.84 kB / 1.244 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.3272, allocations: 12 kB / 1.244 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.626e-05/0.3272, allocations: 19.92 kB / 1.244 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.3273, allocations: 27.84 kB / 1.244 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.3273, allocations: 4 kB / 1.244 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004001/0.3277, allocations: 175.7 kB / 1.244 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.3278, allocations: 12 kB / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.3278, allocations: 19.86 kB / 1.244 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003237/0.3281, allocations: 151.5 kB / 1.244 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3281, allocations: 0 / 1.244 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3281, allocations: 0 / 1.244 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3282, allocations: 0 / 1.244 GB, free: 7.309 MB / 0.9981 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.0006282/0.3288, allocations: 395 kB / 1.245 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3288, allocations: 12.03 kB / 1.245 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.19e-05/0.3289, allocations: 34.75 kB / 1.245 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.3289, allocations: 8.891 kB / 1.245 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.3291, allocations: 176.2 kB / 1.245 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.3291, allocations: 8.375 kB / 1.245 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.3291, allocations: 384 / 1.245 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.3294, allocations: 74.2 kB / 1.245 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3294, allocations: 3.938 kB / 1.245 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3294, allocations: 3.984 kB / 1.245 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3295, allocations: 8 kB / 1.245 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.3298, allocations: 63.94 kB / 1.245 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.3302, allocations: 288.7 kB / 1.245 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.3304, allocations: 58.53 kB / 1.245 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.3306, allocations: 36.92 kB / 1.245 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/0.3308, allocations: 89.09 kB / 1.245 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.3308, allocations: 34.55 kB / 1.246 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.3308, allocations: 0 / 1.246 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005811/0.3314, allocations: 133.5 kB / 1.246 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.3315, allocations: 51.41 kB / 1.246 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.3316, allocations: 125.7 kB / 1.246 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.3316, allocations: 29.7 kB / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.3317, allocations: 96.09 kB / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.3317, allocations: 7.953 kB / 1.246 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.3317, allocations: 9.719 kB / 1.246 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3319, allocations: 330.8 kB / 1.246 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.332, allocations: 27.97 kB / 1.246 GB, free: 5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.3322, allocations: 31.95 kB / 1.246 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.3325, allocations: 76.72 kB / 1.246 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3325, allocations: 0 / 1.246 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003535/0.3328, allocations: 97.91 kB / 1.246 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3329, allocations: 8 kB / 1.247 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3329, allocations: 7.984 kB / 1.247 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3329, allocations: 0 / 1.247 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.333, allocations: 15.98 kB / 1.247 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.333, allocations: 0 / 1.247 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.085e-05/0.3331, allocations: 7.984 kB / 1.247 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.3331, allocations: 7.984 kB / 1.247 GB, free: 4.742 MB / 0.9981 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.589e-05/0.3332, allocations: 114.3 kB / 1.247 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.3333, allocations: 11.95 kB / 1.247 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003997/0.3337, allocations: 113.4 kB / 1.247 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3337, allocations: 0 / 1.247 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3337, allocations: 4 kB / 1.247 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3337, allocations: 3.938 kB / 1.247 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.3339, allocations: 173.6 kB / 1.247 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3339, allocations: 4 kB / 1.247 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.435e-05/0.334, allocations: 15.98 kB / 1.247 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.334, allocations: 0 / 1.247 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.334, allocations: 0 / 1.247 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.334, allocations: 4 kB / 1.247 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3341, allocations: 0 / 1.247 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.3345, allocations: 203.3 kB / 1.247 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.3345, allocations: 81.06 kB / 1.247 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.3345, allocations: 7.938 kB / 1.247 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.3346, allocations: 7.984 kB / 1.247 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.3347, allocations: 7.984 kB / 1.247 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.3347, allocations: 0 / 1.247 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.586e-05/0.3348, allocations: 95.27 kB / 1.247 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3348, allocations: 4 kB / 1.247 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002735/0.3351, allocations: 31.88 kB / 1.247 GB, free: 3.77 MB / 0.9981 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.0008283/0.3359, allocations: 0.7591 MB / 1.248 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003629/0.3363, allocations: 75.86 kB / 1.248 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3363, allocations: 0 / 1.248 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.3365, allocations: 35.95 kB / 1.248 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.3368, allocations: 13.41 kB / 1.248 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.3387, allocations: 1.424 MB / 1.25 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.3391, allocations: 0.6846 MB / 1.25 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.693e-05/0.3391, allocations: 4.328 kB / 1.25 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.3392, allocations: 19.44 kB / 1.25 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.3392, allocations: 0 / 1.25 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5726/0.9118, allocations: 2.448 MB / 1.253 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.697/8.609, allocations: 7.906 kB / 1.253 GB, free: 14.41 MB / 0.9981 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 400 --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