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.001971/0.001971, 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.002625/0.002625, allocations: 210.5 kB / 22.24 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 7.809 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.337/3.337, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.002105/0.002105, allocations: 71.92 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3901, allocations: 181.9 MB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00258/0.3927, allocations: 1.29 MB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.3941, allocations: 0.7682 MB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.981e-05/0.3942, allocations: 4 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.101e-05/0.3942, allocations: 0 / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.24e-05/0.3942, allocations: 7.922 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005076/0.3947, allocations: 127.4 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.596e-05/0.3948, allocations: 23.92 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.949e-05/0.3948, allocations: 3.984 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.493e-05/0.3949, allocations: 19.92 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.194e-05/0.3949, allocations: 4 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.395, allocations: 4 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003273/0.3953, allocations: 167.7 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.3953, allocations: 7.938 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.3953, allocations: 8 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.3956, allocations: 123.9 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3956, allocations: 0 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3956, allocations: 0 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.3956, allocations: 0 / 1.366 GB, free: 11.59 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.0004552/0.396, allocations: 286.1 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3961, allocations: 12.03 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.615e-05/0.3961, allocations: 38.69 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.3962, allocations: 12.83 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.3963, allocations: 106.5 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.096e-05/0.3963, allocations: 55.97 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.3964, allocations: 4.375 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.3965, allocations: 79.69 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.3965, allocations: 0 / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.3965, allocations: 0 / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3965, allocations: 0 / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.787e-05/0.3966, allocations: 15.98 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.3968, allocations: 132.7 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.397, allocations: 50.53 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.719e-05/0.3971, allocations: 12.86 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/0.3973, allocations: 24.06 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.379e-05/0.3973, allocations: 38.5 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3973, allocations: 0 / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002566/0.3976, allocations: 73.61 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.3976, allocations: 51.41 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.513e-05/0.3977, allocations: 106 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.3978, allocations: 25.7 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.3978, allocations: 80.14 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.3978, allocations: 11.91 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.3979, allocations: 13.72 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.398, allocations: 318.8 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.222e-05/0.3981, allocations: 8 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.694e-05/0.3981, allocations: 15.98 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.693e-05/0.3982, allocations: 24.86 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3982, allocations: 0 / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001495/0.3983, allocations: 65.56 kB / 1.367 GB, free: 9.746 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3984, allocations: 7.938 kB / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3984, allocations: 0 / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3984, allocations: 0 / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.708e-05/0.3984, allocations: 8 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3984, allocations: 3.984 kB / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/0.3985, allocations: 4 kB / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.3985, allocations: 8 kB / 1.367 GB, free: 9.715 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.108e-05/0.3986, allocations: 105.8 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.3986, allocations: 7.875 kB / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.3988, allocations: 69.3 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3988, allocations: 0 / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3988, allocations: 0 / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3988, allocations: 4 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.3989, allocations: 132.7 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.3989, allocations: 0 / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.857e-05/0.399, allocations: 12 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.399, allocations: 7.938 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.399, allocations: 0 / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.399, allocations: 3.984 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.399, allocations: 0 / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.3991, allocations: 81.08 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.3992, allocations: 11.92 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.3992, allocations: 3.938 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.958e-05/0.3992, allocations: 4 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.3993, allocations: 11.92 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.3993, allocations: 4 kB / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.176e-05/0.3993, allocations: 79.7 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3993, allocations: 0 / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002423/0.3996, allocations: 35.88 kB / 1.368 GB, free: 9.066 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.0006295/0.4002, allocations: 0.6577 MB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.4004, allocations: 31.95 kB / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4004, allocations: 0 / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.033e-05/0.4004, allocations: 19.98 kB / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.4006, allocations: 4 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004526/0.4011, allocations: 176.9 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.974e-05/0.4012, allocations: 63.28 kB / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.234e-05/0.4012, allocations: 8 kB / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.4012, allocations: 7.438 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of SimCode: time 4.2e-07/0.4012, allocations: 4 kB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/0.4325, allocations: 2.526 MB / 1.371 GB, free: 5.625 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.89, allocations: 0.75 kB / 1.371 GB, free: 5.625 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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.912084631621838]