Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001929/0.001929, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002197/0.002197, allocations: 218.5 kB / 22.25 MB, free: 5.105 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.789 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.2/3.2, allocations: 0.49 GB / 0.7951 GB, free: 35.27 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.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_12_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.002143/0.002143, allocations: 67.52 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3615, allocations: 176.1 MB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002907/0.3644, allocations: 1.299 MB / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.366, allocations: 0.7634 MB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.366, allocations: 3.938 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.232e-05/0.366, allocations: 0 / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.91e-05/0.3661, allocations: 7.938 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007415/0.3668, allocations: 131.4 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.367, allocations: 23.92 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.297e-05/0.367, allocations: 8 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.279e-05/0.3671, allocations: 8 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.429e-05/0.3672, allocations: 11.92 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.3672, allocations: 4 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004069/0.3676, allocations: 163.7 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.3676, allocations: 11.98 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.3676, allocations: 11.92 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.3679, allocations: 115.9 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.368, allocations: 4 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.503e-06/0.368, allocations: 0 / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.368, allocations: 3.938 kB / 1.328 GB, free: 14.93 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005064/0.3685, allocations: 291.2 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.3685, allocations: 8.031 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.986e-05/0.3686, allocations: 34.73 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.3686, allocations: 8.938 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.3687, allocations: 118.4 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.3688, allocations: 55.97 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.3688, allocations: 4.375 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.369, allocations: 75.69 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.369, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.369, allocations: 4 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.369, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.812e-05/0.3691, allocations: 19.98 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.3693, allocations: 128.7 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.3695, allocations: 50.55 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.928e-05/0.3696, allocations: 12.94 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000226/0.3698, allocations: 27.97 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.3699, allocations: 42.5 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3699, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002799/0.3702, allocations: 65.67 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.3702, allocations: 59.28 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.404e-05/0.3703, allocations: 93.86 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3703, allocations: 25.7 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.068e-05/0.3703, allocations: 84.14 kB / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.3704, allocations: 15.89 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.3704, allocations: 17.72 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3706, allocations: 314.8 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.841e-05/0.3706, allocations: 7.984 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.33e-05/0.3707, allocations: 12 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.3708, allocations: 24.84 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3708, allocations: 0 / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000142/0.3709, allocations: 66.12 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3709, allocations: 9.656 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3709, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3709, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.378e-05/0.371, allocations: 12 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.371, allocations: 0 / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.736e-05/0.371, allocations: 0 / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.371, allocations: 4 kB / 1.33 GB, free: 13.05 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 (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.036e-05/0.3711, allocations: 114.4 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.3712, allocations: 11.89 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.3713, allocations: 69.33 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3713, allocations: 3.938 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3713, allocations: 7.938 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3713, allocations: 4 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.3715, allocations: 128.7 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3715, allocations: 0 / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/0.3715, allocations: 8 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.3715, allocations: 3.938 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.3715, allocations: 0 / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3715, allocations: 0 / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3715, allocations: 4 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.3717, allocations: 81.11 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.3717, allocations: 11.94 kB / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.3717, allocations: 7.984 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.606e-05/0.3718, allocations: 4 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.3718, allocations: 3.938 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.3718, allocations: 4 kB / 1.33 GB, free: 12.51 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.245e-05/0.3719, allocations: 83.2 kB / 1.33 GB, free: 12.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3719, allocations: 0 / 1.33 GB, free: 12.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002387/0.3721, allocations: 35.88 kB / 1.331 GB, free: 12.39 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 (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.0006106/0.3727, allocations: 0.6591 MB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001597/0.3729, allocations: 35.92 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3729, allocations: 0 / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.465e-05/0.3729, allocations: 11.98 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.3732, allocations: 8 kB / 1.331 GB, free: 11.65 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.3737, allocations: 169 kB / 1.331 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.461e-05/0.3737, allocations: 63.34 kB / 1.331 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.695e-05/0.3738, allocations: 4 kB / 1.331 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.3738, allocations: 11.44 kB / 1.331 GB, free: 11.35 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.3738, allocations: 0 / 1.331 GB, free: 11.35 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.4026, allocations: 2.566 MB / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.82, allocations: 2.062 kB / 1.334 GB, free: 8.922 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.74197214699234]