Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.535/2.535, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 75.88 kB / 1.107 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7372/0.7391, allocations: 168.7 MB / 1.271 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002258/0.7414, allocations: 1.523 MB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.7424, allocations: 0.8155 MB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.934e-05/0.7424, allocations: 0.9688 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.7425, allocations: 5.156 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.298e-05/0.7425, allocations: 14.55 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.7429, allocations: 134.4 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.64e-05/0.743, allocations: 47.98 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.338e-05/0.7431, allocations: 11.61 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.355e-05/0.7431, allocations: 24.39 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.227e-05/0.7432, allocations: 19.52 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.7432, allocations: 4.75 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.7435, allocations: 173.8 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.7435, allocations: 16.3 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.7435, allocations: 18.98 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.7437, allocations: 149 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.7437, allocations: 0 / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7437, allocations: 5.781 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.7438, allocations: 3.938 kB / 1.274 GB, free: 5.832 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.0004117/0.7442, allocations: 401.5 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.7442, allocations: 9.375 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.795e-05/0.7442, allocations: 31.62 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.431e-05/0.7443, allocations: 7.125 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.92e-05/0.7443, allocations: 179.4 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.7443, allocations: 1.469 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.7443, allocations: 2.406 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.7446, allocations: 75.23 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.7446, allocations: 5 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.7446, allocations: 0 / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.7446, allocations: 1.094 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.7449, allocations: 78.36 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002622/0.7451, allocations: 282 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.7453, allocations: 59.05 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.7455, allocations: 45.38 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.7456, allocations: 88.3 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.7456, allocations: 31.34 kB / 1.275 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.7456, allocations: 0.5625 kB / 1.275 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0004926/0.7461, allocations: 135 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.697e-05/0.7461, allocations: 52.31 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.442e-05/0.7462, allocations: 119.8 kB / 1.276 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/0.7462, allocations: 26.55 kB / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.34e-05/0.7462, allocations: 87.64 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.7462, allocations: 10.34 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.7463, allocations: 22.45 kB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.7463, allocations: 321.8 kB / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.7464, allocations: 35.12 kB / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.7466, allocations: 31.17 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.7468, allocations: 71.33 kB / 1.276 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.7468, allocations: 0 / 1.276 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002869/0.7471, allocations: 99.52 kB / 1.276 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.7471, allocations: 7.625 kB / 1.276 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.7471, allocations: 1.062 kB / 1.276 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.7471, allocations: 4 kB / 1.276 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.7472, allocations: 18.39 kB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.7472, allocations: 1.281 kB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.142e-05/0.7473, allocations: 14.11 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.7473, allocations: 2.141 kB / 1.276 GB, free: 3.867 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 4.298e-05/0.7474, allocations: 121.3 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.7474, allocations: 6.891 kB / 1.277 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003185/0.7477, allocations: 109.5 kB / 1.277 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.7477, allocations: 1.031 kB / 1.277 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.7477, allocations: 0 / 1.277 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.7477, allocations: 3.594 kB / 1.277 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.7478, allocations: 170.5 kB / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7478, allocations: 5.25 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.425e-05/0.7479, allocations: 15.05 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.7479, allocations: 4.75 kB / 1.277 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.7479, allocations: 0.9688 kB / 1.277 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.7479, allocations: 0.9375 kB / 1.277 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7479, allocations: 6.75 kB / 1.277 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.7482, allocations: 197.4 kB / 1.277 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.717e-05/0.7483, allocations: 82.64 kB / 1.277 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.7483, allocations: 2.141 kB / 1.277 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.7484, allocations: 10.48 kB / 1.277 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.7484, allocations: 9.281 kB / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.7484, allocations: 0.9688 kB / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.436e-05/0.7484, allocations: 99.08 kB / 1.277 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7484, allocations: 0 / 1.277 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002611/0.7487, allocations: 32.72 kB / 1.277 GB, free: 3.125 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.000529/0.7492, allocations: 0.7675 MB / 1.278 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000315/0.7495, allocations: 71.39 kB / 1.278 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.7495, allocations: 0 / 1.278 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.7497, allocations: 35.55 kB / 1.278 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.75, allocations: 9.922 kB / 1.278 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.7515, allocations: 1.425 MB / 1.28 GB, free: 17.18 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.7517, allocations: 0.6824 MB / 1.28 GB, free: 16.48 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.022e-05/0.7518, allocations: 8.656 kB / 1.28 GB, free: 16.48 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.7518, allocations: 15.56 kB / 1.28 GB, free: 16.46 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.7518, allocations: 0 / 1.28 GB, free: 16.46 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.7751, allocations: 2.449 MB / 1.283 GB, free: 16.01 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.994/7.77, allocations: 14.5 kB / 1.283 GB, free: 16.01 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.17134823500237]