Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.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.001616/0.001616, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001864/0.001864, allocations: 216.6 kB / 22.25 MB, free: 4.852 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.785 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.827/2.827, allocations: 476 MB / 0.7699 GB, free: 4.766 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.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_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.002201/0.002201, allocations: 64.38 kB / 1.117 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3595, allocations: 169.9 MB / 1.283 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002521/0.3621, allocations: 1.286 MB / 1.284 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.3635, allocations: 0.7608 MB / 1.285 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.834e-05/0.3635, allocations: 0 / 1.285 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.316e-05/0.3635, allocations: 7.875 kB / 1.285 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.098e-05/0.3635, allocations: 3.984 kB / 1.285 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000512/0.3641, allocations: 139.4 kB / 1.285 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.442e-05/0.3641, allocations: 27.86 kB / 1.285 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.3642, allocations: 0 / 1.285 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.655e-05/0.3642, allocations: 19.92 kB / 1.285 GB, free: 2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.71e-05/0.3643, allocations: 4 kB / 1.285 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.3643, allocations: 0 / 1.285 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000321/0.3646, allocations: 163.8 kB / 1.285 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.3646, allocations: 3.938 kB / 1.285 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.3647, allocations: 4 kB / 1.285 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.3649, allocations: 135.8 kB / 1.285 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3649, allocations: 0 / 1.285 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3649, allocations: 0 / 1.285 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.3649, allocations: 0 / 1.285 GB, free: 1.695 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004643/0.3654, allocations: 286 kB / 1.285 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3654, allocations: 12.03 kB / 1.285 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.773e-05/0.3655, allocations: 34.75 kB / 1.285 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.3655, allocations: 0.9375 kB / 1.285 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.3656, allocations: 114.4 kB / 1.285 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.797e-05/0.3657, allocations: 55.97 kB / 1.286 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.3657, allocations: 4.375 kB / 1.286 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.3659, allocations: 75.69 kB / 1.286 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3659, allocations: 0 / 1.286 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.3659, allocations: 7.984 kB / 1.286 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.3659, allocations: 7.938 kB / 1.286 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.141e-05/0.366, allocations: 11.98 kB / 1.286 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002007/0.3662, allocations: 132.8 kB / 1.286 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.3664, allocations: 38.56 kB / 1.286 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.2e-05/0.3665, allocations: 20.86 kB / 1.286 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/0.3667, allocations: 24.06 kB / 1.286 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.3667, allocations: 34.5 kB / 1.286 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3667, allocations: 0 / 1.286 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002494/0.367, allocations: 73.56 kB / 1.286 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.367, allocations: 51.41 kB / 1.286 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.266e-05/0.3671, allocations: 101.8 kB / 1.286 GB, free: 460 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.3671, allocations: 33.7 kB / 1.286 GB, free: 420 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.3671, allocations: 80.14 kB / 1.286 GB, free: 336 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.3672, allocations: 11.89 kB / 1.286 GB, free: 324 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.3672, allocations: 17.72 kB / 1.286 GB, free: 300 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3674, allocations: 314.8 kB / 1.287 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.921e-05/0.3674, allocations: 12 kB / 1.287 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.069e-05/0.3675, allocations: 11.92 kB / 1.287 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.3676, allocations: 36.78 kB / 1.287 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3676, allocations: 0 / 1.287 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001333/0.3677, allocations: 53.69 kB / 1.287 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3677, allocations: 11.94 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3677, allocations: 0 / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3677, allocations: 0 / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.125e-05/0.3678, allocations: 4 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3678, allocations: 3.984 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.918e-05/0.3678, allocations: 4 kB / 1.287 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.3678, allocations: 4 kB / 1.287 GB, free: 15.83 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 (4): * Single equations (assignments): 4 * 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.147e-05/0.3679, allocations: 109.8 kB / 1.287 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.3679, allocations: 7.938 kB / 1.287 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001842/0.3681, allocations: 77.7 kB / 1.287 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3681, allocations: 0 / 1.287 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.3681, allocations: 0 / 1.287 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3681, allocations: 0 / 1.287 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.3682, allocations: 136.7 kB / 1.287 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3682, allocations: 0 / 1.287 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.76e-05/0.3683, allocations: 8.047 kB / 1.287 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.3683, allocations: 7.922 kB / 1.287 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.3683, allocations: 4 kB / 1.287 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3683, allocations: 7.984 kB / 1.287 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3683, allocations: 0 / 1.287 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.3685, allocations: 81.06 kB / 1.287 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.3685, allocations: 11.92 kB / 1.287 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.3685, allocations: 0 / 1.287 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.931e-05/0.3686, allocations: 0 / 1.287 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.3686, allocations: 7.984 kB / 1.287 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.3686, allocations: 4 kB / 1.287 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.137e-05/0.3687, allocations: 79.28 kB / 1.287 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3687, allocations: 0 / 1.287 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002337/0.3689, allocations: 31.88 kB / 1.287 GB, free: 15.19 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 (4): * Single equations (assignments): 4 * 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.0006132/0.3695, allocations: 0.6707 MB / 1.288 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001502/0.3697, allocations: 23.98 kB / 1.288 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3697, allocations: 0 / 1.288 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.461e-05/0.3697, allocations: 15.98 kB / 1.288 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.37, allocations: 7.938 kB / 1.288 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.3704, allocations: 188.8 kB / 1.288 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.375e-05/0.3705, allocations: 59.34 kB / 1.288 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.379e-05/0.3705, allocations: 7.984 kB / 1.288 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.3706, allocations: 7.438 kB / 1.288 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.3706, allocations: 4 kB / 1.288 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.4015, allocations: 2.515 MB / 1.291 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.09, allocations: 7.922 kB / 1.291 GB, free: 11.73 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.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_Functions_Examples_phi_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.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.700361099094152]