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.000857/0.000857, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008773/0.0008773, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9181/0.9181, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.807/1.807, allocations: 377.8 MB / 0.6221 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.981 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339e-05/1.503e-05, allocations: 2.281 kB / 0.981 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001681/0.001696, allocations: 1.298 MB / 0.9822 GB, free: 1.293 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009409/0.002636, allocations: 0.7631 MB / 0.983 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.438e-05/0.002661, allocations: 0 / 0.983 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.002683, allocations: 3.938 kB / 0.983 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.249e-05/0.002725, allocations: 7.922 kB / 0.983 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.003183, allocations: 135.2 kB / 0.9831 GB, free: 392 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.964e-05/0.003262, allocations: 27.92 kB / 0.9831 GB, free: 364 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.003303, allocations: 7.969 kB / 0.9831 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.578e-05/0.003359, allocations: 19.92 kB / 0.9832 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.63e-05/0.003415, allocations: 4 kB / 0.9832 GB, free: 332 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.003429, allocations: 4 kB / 0.9832 GB, free: 328 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.003658, allocations: 159.7 kB / 0.9833 GB, free: 168 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.00368, allocations: 7.969 kB / 0.9833 GB, free: 160 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.017e-05/0.0037, allocations: 8 kB / 0.9833 GB, free: 152 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.003881, allocations: 139.6 kB / 0.9835 GB, free: 12 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003883, allocations: 0 / 0.9835 GB, free: 12 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003884, allocations: 0 / 0.9835 GB, free: 12 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.003887, allocations: 4 kB / 0.9835 GB, free: 8 kB / 0.9323 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.0003601/0.004247, allocations: 278.1 kB / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.004286, allocations: 12.03 kB / 0.9837 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.625e-05/0.004312, allocations: 34.73 kB / 0.9838 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.004342, allocations: 8.891 kB / 0.9838 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.06e-05/0.004413, allocations: 105.8 kB / 0.9839 GB, free: 15.51 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.494e-05/0.004478, allocations: 59.91 kB / 0.9839 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.004486, allocations: 4.375 kB / 0.984 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.004595, allocations: 75.94 kB / 0.984 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.0046, allocations: 4.188 kB / 0.984 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.004608, allocations: 384 / 0.984 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.004614, allocations: 3.938 kB / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.528e-05/0.004669, allocations: 15.98 kB / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001169/0.004786, allocations: 124.8 kB / 0.9842 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.004948, allocations: 50.48 kB / 0.9842 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.004978, allocations: 20.92 kB / 0.9842 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.005137, allocations: 27.97 kB / 0.9843 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.005158, allocations: 38.56 kB / 0.9843 GB, free: 15.01 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.005159, allocations: 0 / 0.9843 GB, free: 15.01 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0001647/0.005323, allocations: 65.61 kB / 0.9844 GB, free: 14.94 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.005348, allocations: 55.41 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.161e-05/0.00539, allocations: 97.8 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.005401, allocations: 25.7 kB / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.964e-05/0.00542, allocations: 80.14 kB / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.005445, allocations: 27.75 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.00547, allocations: 25.72 kB / 0.9847 GB, free: 14.59 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.164e-05/0.005542, allocations: 314.8 kB / 0.985 GB, free: 14.28 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.544e-05/0.005567, allocations: 7.984 kB / 0.985 GB, free: 14.27 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.176e-05/0.005589, allocations: 12 kB / 0.985 GB, free: 14.26 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.037e-05/0.005639, allocations: 24.84 kB / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.005641, allocations: 0 / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.283e-05/0.005714, allocations: 61.62 kB / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.005725, allocations: 10.97 kB / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.00573, allocations: 0 / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.005741, allocations: 7.938 kB / 0.9851 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.075e-05/0.005772, allocations: 11.94 kB / 0.9851 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.005777, allocations: 0 / 0.9851 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.389e-05/0.005791, allocations: 0 / 0.9851 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.005795, allocations: 0 / 0.9851 GB, free: 14.14 MB / 0.948 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 5.238e-05/0.005847, allocations: 117.8 kB / 0.9852 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-06/0.005853, allocations: 0 / 0.9852 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.005965, allocations: 65.36 kB / 0.9853 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.005967, allocations: 3.938 kB / 0.9853 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.005972, allocations: 4 kB / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.005974, allocations: 0 / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.657e-05/0.00605, allocations: 128.8 kB / 0.9854 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.006051, allocations: 0 / 0.9854 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.942e-05/0.00607, allocations: 8 kB / 0.9854 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.006072, allocations: 3.938 kB / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.006077, allocations: 0 / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.006079, allocations: 3.938 kB / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.006081, allocations: 3.984 kB / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.006298, allocations: 85.62 kB / 0.9855 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.913e-05/0.006327, allocations: 8 kB / 0.9855 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.006339, allocations: 8.031 kB / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.593e-05/0.006365, allocations: 15.92 kB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.006392, allocations: 3.938 kB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.006396, allocations: 3.938 kB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.584e-05/0.006422, allocations: 83.27 kB / 0.9856 GB, free: 13.52 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006422, allocations: 0 / 0.9856 GB, free: 13.52 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000169/0.006591, allocations: 39.81 kB / 0.9857 GB, free: 13.48 MB / 0.948 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.0003369/0.006927, allocations: 0.6591 MB / 0.9863 GB, free: 12.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.007031, allocations: 27.98 kB / 0.9863 GB, free: 12.77 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.007033, allocations: 0 / 0.9863 GB, free: 12.77 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.749e-05/0.00706, allocations: 19.92 kB / 0.9863 GB, free: 12.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.007214, allocations: 7.938 kB / 0.9863 GB, free: 12.74 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/0.007518, allocations: 158.4 kB / 0.9865 GB, free: 12.55 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.565e-05/0.007554, allocations: 59.34 kB / 0.9866 GB, free: 12.47 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.575e-05/0.007579, allocations: 8 kB / 0.9866 GB, free: 12.46 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.007608, allocations: 12.5 kB / 0.9866 GB, free: 12.45 MB / 0.948 GB Notification: Performance of SimCode: time 8.81e-07/0.007609, allocations: 0 / 0.9866 GB, free: 12.45 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/0.022, allocations: 2.675 MB / 0.9892 GB, free: 9.918 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.693/6.715, allocations: 8 kB / 0.9892 GB, free: 9.914 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.950952186249197]