Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 95.77 kB / 18.94 MB, free: 2.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 219.6 kB / 22.25 MB, free: 5.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.213/3.213, allocations: 0.49 GB / 0.7951 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 68.56 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.44, allocations: 176.1 MB / 1.326 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002772/0.4428, allocations: 1.507 MB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.4442, allocations: 0.7402 MB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.4442, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.445e-05/0.4443, allocations: 3.938 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.253e-05/0.4443, allocations: 11.88 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005209/0.4448, allocations: 131.5 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.924e-05/0.4449, allocations: 59.72 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.445, allocations: 23.91 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.362e-05/0.4451, allocations: 15.94 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.218e-05/0.4452, allocations: 27.91 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.4452, allocations: 4 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/0.4455, allocations: 167.8 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.4455, allocations: 7.938 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.4456, allocations: 23.92 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.4459, allocations: 151.4 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4459, allocations: 7.938 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4459, allocations: 0 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.403e-06/0.4459, allocations: 0 / 1.329 GB, free: 14.68 MB / 1.029 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.0006212/0.4465, allocations: 325.8 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.4466, allocations: 12.03 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.251e-05/0.4466, allocations: 34.75 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.4467, allocations: 12.88 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.4468, allocations: 110.5 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.4468, allocations: 8.297 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.4468, allocations: 4.375 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.4471, allocations: 74.22 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.4471, allocations: 3.938 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.4471, allocations: 4 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.4471, allocations: 7.984 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.4474, allocations: 63.94 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.4478, allocations: 251.8 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.448, allocations: 62.55 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.4482, allocations: 40.84 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.4484, allocations: 15.98 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.4484, allocations: 30.56 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4484, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005439/0.4489, allocations: 133.5 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.449, allocations: 55.41 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.4491, allocations: 117.8 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.4491, allocations: 25.7 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.4492, allocations: 88.14 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.4492, allocations: 11.91 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.4492, allocations: 17.7 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4494, allocations: 322.8 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.4495, allocations: 31.97 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.4496, allocations: 31.95 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.4499, allocations: 68.78 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4499, allocations: 4 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003194/0.4502, allocations: 97.56 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.4502, allocations: 8 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.4502, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.4503, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.4504, allocations: 11.98 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.4504, allocations: 7.938 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.192e-05/0.4505, allocations: 19.92 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.4505, allocations: 4 kB / 1.331 GB, free: 12.4 MB / 1.029 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 9.773e-05/0.4506, allocations: 114.3 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.4506, allocations: 4 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003824/0.451, allocations: 109.9 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.451, allocations: 0 / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.451, allocations: 4 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.451, allocations: 4.031 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.4512, allocations: 140.7 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.4512, allocations: 0 / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.88e-05/0.4513, allocations: 11.98 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4513, allocations: 3.938 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.4513, allocations: 8 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4513, allocations: 0 / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4513, allocations: 0 / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000383/0.4517, allocations: 199.4 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.4517, allocations: 11.89 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.4517, allocations: 0 / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.4518, allocations: 15.98 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.4519, allocations: 11.92 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.4519, allocations: 4 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.646e-05/0.4519, allocations: 95.64 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4519, allocations: 4 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003164/0.4523, allocations: 35.88 kB / 1.331 GB, free: 11.55 MB / 1.029 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.0008646/0.4531, allocations: 0.7514 MB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000342/0.4535, allocations: 75.86 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4535, allocations: 0 / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.4536, allocations: 35.95 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.454, allocations: 13.66 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.4559, allocations: 1.434 MB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.702e-05/0.456, allocations: 67.53 kB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.75e-05/0.456, allocations: 7.906 kB / 1.334 GB, free: 9.055 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.4561, allocations: 23.36 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of SimCode: time 4.7e-07/0.4561, allocations: 0 / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.4862, allocations: 3.136 MB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.62, allocations: 11.56 kB / 1.337 GB, free: 6.031 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.56264854199253]