Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.Phi_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_9_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.005485/0.005485, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001295/0.001295, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.147/2.147, allocations: 390.2 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 67.89 kB / 0.9504 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7724/0.7737, allocations: 140.4 MB / 1.087 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002905/0.7767, allocations: 1.492 MB / 1.089 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.7778, allocations: 0.7962 MB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.418e-05/0.7779, allocations: 0.9375 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.276e-05/0.7779, allocations: 4.641 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.365e-05/0.778, allocations: 15.33 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.7785, allocations: 126.4 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.909e-05/0.7786, allocations: 59.03 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.7787, allocations: 17.61 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.504e-05/0.7787, allocations: 18.75 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.888e-05/0.7788, allocations: 32.34 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.7788, allocations: 4.281 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003546/0.7792, allocations: 165.5 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.7792, allocations: 11.53 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.7792, allocations: 24.33 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.7795, allocations: 151.1 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.7796, allocations: 0 / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.784e-06/0.7796, allocations: 4 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.7796, allocations: 1.125 kB / 1.09 GB, free: 3.465 MB / 0.8575 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.0005011/0.7801, allocations: 397.3 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.7801, allocations: 9.375 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.066e-05/0.7802, allocations: 33.03 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.7802, allocations: 7.312 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.659e-05/0.7803, allocations: 172.9 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.7803, allocations: 9.828 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.7803, allocations: 2.812 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.7806, allocations: 72.95 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.7806, allocations: 7.875 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.7806, allocations: 3.938 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.7806, allocations: 1.531 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.7809, allocations: 69.62 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.7812, allocations: 282.5 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.7815, allocations: 59.59 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.7816, allocations: 41.34 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/0.7818, allocations: 89.16 kB / 1.091 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.7818, allocations: 32.28 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.7818, allocations: 0 / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005531/0.7824, allocations: 134.2 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.7824, allocations: 52.03 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.468e-05/0.7825, allocations: 121.2 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.7825, allocations: 26.55 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.429e-05/0.7825, allocations: 87.28 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.7825, allocations: 18.86 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.7826, allocations: 13.47 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.241e-05/0.7826, allocations: 329.2 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.7828, allocations: 32.17 kB / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.7829, allocations: 30.81 kB / 1.092 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.7832, allocations: 71.36 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7832, allocations: 7.938 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003197/0.7836, allocations: 95.03 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.7836, allocations: 5.609 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.7836, allocations: 0.8125 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.7836, allocations: 0.9062 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.7837, allocations: 15.05 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.7837, allocations: 8.719 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.123e-05/0.7838, allocations: 11.92 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.7838, allocations: 1.5 kB / 1.093 GB, free: 1.504 MB / 0.8575 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 4.695e-05/0.7839, allocations: 116.3 kB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.7839, allocations: 6.906 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/0.7843, allocations: 110.1 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.7843, allocations: 4.438 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.7843, allocations: 0.9375 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.7843, allocations: 0.5625 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.7844, allocations: 177.8 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7844, allocations: 0 / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.887e-05/0.7846, allocations: 15.64 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.7846, allocations: 0.5625 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.7846, allocations: 0.875 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.7846, allocations: 8.781 kB / 1.093 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7846, allocations: 0.75 kB / 1.093 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.785, allocations: 199.1 kB / 1.093 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.785, allocations: 78.8 kB / 1.093 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.785, allocations: 2.016 kB / 1.093 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.7851, allocations: 15.98 kB / 1.093 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.7852, allocations: 3.312 kB / 1.093 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.7852, allocations: 1.156 kB / 1.093 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.914e-05/0.7852, allocations: 95.55 kB / 1.093 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7852, allocations: 1.062 kB / 1.093 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002674/0.7855, allocations: 31.44 kB / 1.093 GB, free: 0.7695 MB / 0.8575 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.000642/0.7861, allocations: 0.7629 MB / 1.094 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003539/0.7865, allocations: 72.31 kB / 1.094 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.7865, allocations: 0 / 1.094 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.7867, allocations: 43.41 kB / 1.094 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.787, allocations: 20.59 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.7887, allocations: 1.432 MB / 1.096 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.7889, allocations: 0.6823 MB / 1.096 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.767e-05/0.789, allocations: 7.531 kB / 1.096 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.789, allocations: 14.62 kB / 1.096 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of SimCode: time 3.51e-07/0.789, allocations: 0.9062 kB / 1.096 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.8081, allocations: 2.44 MB / 1.099 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.227/8.035, allocations: 2.156 kB / 1.099 GB, free: 13.65 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches