Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001433/0.001433, 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.001536/0.001536, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.664/1.664, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.262/3.262, allocations: 0.5107 GB / 0.8158 GB, free: 17.95 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_latest_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.002111/0.002111, allocations: 67.19 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3505, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002348/0.3529, allocations: 1.29 MB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.3543, allocations: 0.7682 MB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.3543, allocations: 0 / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.601e-05/0.3543, allocations: 7.922 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.602e-05/0.3544, allocations: 0 / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.3549, allocations: 135.4 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.047e-05/0.3549, allocations: 27.86 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.355, allocations: 0 / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.131e-05/0.355, allocations: 15.92 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.365e-05/0.3551, allocations: 8 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.3551, allocations: 0 / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000316/0.3554, allocations: 159.8 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.3554, allocations: 4 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.3554, allocations: 11.94 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.3557, allocations: 135.8 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3557, allocations: 0 / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3557, allocations: 0 / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3557, allocations: 0 / 1.366 GB, free: 11.57 MB / 1.061 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.0004443/0.3562, allocations: 282.1 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3562, allocations: 12.03 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.582e-05/0.3562, allocations: 30.75 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.3563, allocations: 4.891 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.3564, allocations: 114.5 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.41e-05/0.3565, allocations: 63.95 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.3565, allocations: 384 / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.3566, allocations: 71.7 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3566, allocations: 3.938 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.3567, allocations: 7.938 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3567, allocations: 0 / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.91e-05/0.3568, allocations: 15.98 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.3569, allocations: 128.8 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.3572, allocations: 42.56 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.022e-05/0.3572, allocations: 16.86 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002204/0.3574, allocations: 28.06 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.3575, allocations: 38.5 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.3575, allocations: 0 / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002425/0.3577, allocations: 69.8 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.3578, allocations: 55.41 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.507e-05/0.3578, allocations: 97.83 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.3578, allocations: 37.7 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.3579, allocations: 80.14 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.3579, allocations: 15.83 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.3579, allocations: 17.72 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3581, allocations: 318.8 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.825e-05/0.3581, allocations: 4 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.307e-05/0.3582, allocations: 11.98 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.324e-05/0.3583, allocations: 32.78 kB / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3583, allocations: 0 / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001379/0.3584, allocations: 61.64 kB / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3584, allocations: 11.94 kB / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3584, allocations: 0 / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3584, allocations: 0 / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.55e-05/0.3585, allocations: 7.984 kB / 1.367 GB, free: 9.707 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3585, allocations: 4 kB / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.3585, allocations: 0 / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-06/0.3585, allocations: 0 / 1.367 GB, free: 9.703 MB / 1.061 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 8.309e-05/0.3586, allocations: 113.8 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.3586, allocations: 7.938 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.3588, allocations: 69.3 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3588, allocations: 0 / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3588, allocations: 0 / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3588, allocations: 0 / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.3589, allocations: 132.7 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3589, allocations: 3.938 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.359, allocations: 4 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.359, allocations: 11.92 kB / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.359, allocations: 0 / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.359, allocations: 4 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.359, allocations: 0 / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.3592, allocations: 85.02 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.3592, allocations: 15.92 kB / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.3592, allocations: 0 / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.651e-05/0.3593, allocations: 0 / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.3593, allocations: 7.984 kB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.3593, allocations: 0 / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.413e-05/0.3594, allocations: 79.7 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3594, allocations: 0 / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002309/0.3596, allocations: 35.88 kB / 1.368 GB, free: 9.059 MB / 1.061 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.0005766/0.3602, allocations: 0.667 MB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.3603, allocations: 23.98 kB / 1.369 GB, free: 8.336 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3603, allocations: 4 kB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.326e-05/0.3604, allocations: 15.92 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.3606, allocations: 13.38 kB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.361, allocations: 168.9 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.544e-05/0.3611, allocations: 67.28 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.911e-05/0.3611, allocations: 7.984 kB / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.3611, allocations: 7.438 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.3611, allocations: 4 kB / 1.369 GB, free: 7.996 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.3906, allocations: 2.53 MB / 1.371 GB, free: 5.605 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.85, allocations: 0.6562 kB / 1.371 GB, free: 5.605 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.96645930223167]