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.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.001357/0.001357, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001497/0.001497, allocations: 216.6 kB / 22.25 MB, free: 5.078 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.823/2.823, allocations: 476.8 MB / 0.7707 GB, free: 4.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.00203/0.00203, allocations: 64.3 kB / 1.117 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3563, allocations: 170 MB / 1.283 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003006/0.3593, allocations: 1.511 MB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.3608, allocations: 0.8233 MB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.402e-05/0.3608, allocations: 0 / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.3608, allocations: 3.938 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.529e-05/0.3609, allocations: 23.84 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.3613, allocations: 123.5 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.495e-05/0.3614, allocations: 51.84 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.966e-05/0.3615, allocations: 15.5 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.912e-05/0.3616, allocations: 15.94 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.068e-05/0.3616, allocations: 39.77 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.3616, allocations: 4 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003558/0.362, allocations: 175.8 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.362, allocations: 7.984 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.362, allocations: 27.86 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.3623, allocations: 151.5 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3623, allocations: 0 / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3623, allocations: 0 / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.3623, allocations: 0 / 1.286 GB, free: 8.559 MB / 0.9825 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.0005901/0.3629, allocations: 329.8 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.363, allocations: 8.031 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.949e-05/0.363, allocations: 42.73 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.363, allocations: 8.891 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.3632, allocations: 110.5 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.3632, allocations: 4.375 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.3632, allocations: 384 / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.3635, allocations: 78.14 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3635, allocations: 3.938 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.3635, allocations: 3.938 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3635, allocations: 8 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.3638, allocations: 67.92 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.3642, allocations: 251.8 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.3644, allocations: 62.47 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.3646, allocations: 36.92 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.3648, allocations: 11.98 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.3648, allocations: 34.56 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3648, allocations: 3.938 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005576/0.3654, allocations: 137.5 kB / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.3654, allocations: 59.34 kB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.3655, allocations: 109.8 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.3655, allocations: 29.69 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/0.3656, allocations: 96.14 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.3657, allocations: 11.97 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.3657, allocations: 13.72 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3658, allocations: 322.8 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.366, allocations: 31.97 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.3661, allocations: 31.95 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.3664, allocations: 68.8 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3664, allocations: 0 / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003097/0.3667, allocations: 101.5 kB / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3667, allocations: 12 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3667, allocations: 0 / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3667, allocations: 0 / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.3669, allocations: 11.98 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.3669, allocations: 4 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.084e-05/0.367, allocations: 11.94 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.367, allocations: 4 kB / 1.288 GB, free: 6.281 MB / 0.9825 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 0.0001139/0.3671, allocations: 117.8 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.3671, allocations: 8 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003665/0.3675, allocations: 105.9 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.3675, allocations: 48 / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3675, allocations: 7.922 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3675, allocations: 0 / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.3677, allocations: 152.5 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3677, allocations: 0 / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.3678, allocations: 19.98 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3678, allocations: 0 / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.3678, allocations: 0 / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.3678, allocations: 4 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3678, allocations: 0 / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003958/0.3682, allocations: 207.4 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.3682, allocations: 7.953 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.3682, allocations: 0 / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3683, allocations: 7.984 kB / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/0.3684, allocations: 11.98 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.3684, allocations: 0 / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.825e-05/0.3685, allocations: 95.64 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3685, allocations: 0 / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003058/0.3688, allocations: 39.81 kB / 1.289 GB, free: 5.434 MB / 0.9825 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.0008108/0.3696, allocations: 0.7571 MB / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003457/0.3699, allocations: 75.92 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3699, allocations: 0 / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.3701, allocations: 39.89 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.3704, allocations: 20.19 kB / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.3726, allocations: 1.426 MB / 1.291 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.3729, allocations: 0.6885 MB / 1.292 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.127e-05/0.373, allocations: 0 / 1.292 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.373, allocations: 23.42 kB / 1.292 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of SimCode: time 6.51e-07/0.373, allocations: 0 / 1.292 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/0.4033, allocations: 2.611 MB / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.28, allocations: 9 kB / 1.295 GB, free: 15.8 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.17029884800104]