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.0009174/0.0009174, 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.0009066/0.0009066, 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.919/0.919, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.793/1.793, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.997e-05, allocations: 5.094 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001693/0.001713, allocations: 1.278 MB / 1.001 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009787/0.002692, allocations: 0.7755 MB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.284e-05/0.002715, allocations: 0 / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.002735, allocations: 3.938 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.183e-05/0.002777, allocations: 7.875 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.003264, allocations: 135.3 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.347e-05/0.003338, allocations: 27.86 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.003375, allocations: 0 / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.651e-05/0.003431, allocations: 11.98 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.216e-05/0.003493, allocations: 11.92 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.00351, allocations: 4 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002365/0.003747, allocations: 163.7 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.003764, allocations: 3.984 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.763e-05/0.003781, allocations: 7.938 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.00398, allocations: 139.6 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.003982, allocations: 4 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.012e-06/0.003983, allocations: 0 / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.003988, allocations: 0 / 1.002 GB, free: 10.91 MB / 0.9636 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.00037/0.004358, allocations: 297.9 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.004401, allocations: 8.75 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.964e-05/0.004431, allocations: 30.75 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.004461, allocations: 4.938 kB / 1.002 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.711e-05/0.004538, allocations: 105.8 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.368e-05/0.004612, allocations: 59.91 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.016e-06/0.00462, allocations: 4.375 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.004734, allocations: 75.95 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.004741, allocations: 192 / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.004751, allocations: 384 / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.004758, allocations: 3.938 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.583e-05/0.004814, allocations: 15.98 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.004938, allocations: 128.8 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.005145, allocations: 46.55 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.501e-05/0.00518, allocations: 16.94 kB / 1.003 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.005403, allocations: 27.97 kB / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.005431, allocations: 34.56 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.005432, allocations: 0 / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002076/0.00564, allocations: 73.75 kB / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.00567, allocations: 51.41 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.285e-05/0.005722, allocations: 101.8 kB / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.005734, allocations: 25.7 kB / 1.003 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.193e-05/0.005756, allocations: 84.14 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.005784, allocations: 19.83 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.005814, allocations: 25.66 kB / 1.003 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.819e-05/0.005892, allocations: 310.8 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.919e-05/0.005921, allocations: 11.98 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.285e-05/0.005944, allocations: 8 kB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.332e-05/0.005997, allocations: 32.78 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.005999, allocations: 0 / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.685e-05/0.006076, allocations: 57.69 kB / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.006088, allocations: 8 kB / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.006094, allocations: 7.922 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.006106, allocations: 3.938 kB / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.65e-05/0.006143, allocations: 11.94 kB / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.006148, allocations: 0 / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.723e-05/0.006165, allocations: 4 kB / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.006171, allocations: 4 kB / 1.004 GB, free: 9.023 MB / 0.9636 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.336e-05/0.006224, allocations: 105.8 kB / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.006233, allocations: 7.984 kB / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.006352, allocations: 73.3 kB / 1.004 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.006356, allocations: 3.938 kB / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.00636, allocations: 0 / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.006363, allocations: 4 kB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.589e-05/0.006439, allocations: 124.8 kB / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.00644, allocations: 0 / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.106e-05/0.006461, allocations: 11.98 kB / 1.004 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.006463, allocations: 0 / 1.004 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.006469, allocations: 3.938 kB / 1.004 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.006471, allocations: 3.938 kB / 1.004 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.006472, allocations: 4 kB / 1.004 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.392e-05/0.006556, allocations: 81.11 kB / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.108e-05/0.006587, allocations: 4 kB / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-06/0.006597, allocations: 0 / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.742e-05/0.006624, allocations: 11.92 kB / 1.004 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.00666, allocations: 0 / 1.004 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.006665, allocations: 4 kB / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.108e-05/0.006696, allocations: 79.7 kB / 1.004 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006696, allocations: 0 / 1.004 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000191/0.006887, allocations: 35.86 kB / 1.004 GB, free: 8.391 MB / 0.9636 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.0004442/0.007331, allocations: 0.6748 MB / 1.005 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.007454, allocations: 27.92 kB / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.007455, allocations: 0 / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.836e-05/0.007484, allocations: 19.92 kB / 1.005 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.007674, allocations: 18.11 kB / 1.005 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003944/0.008068, allocations: 154.5 kB / 1.005 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.728e-05/0.008115, allocations: 55.36 kB / 1.005 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.688e-05/0.008152, allocations: 7.984 kB / 1.005 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.008197, allocations: 16.44 kB / 1.005 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of SimCode: time 5.81e-07/0.008197, allocations: 0 / 1.005 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.02749, allocations: 2.67 MB / 1.008 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.665/6.692, allocations: 2.438 kB / 1.008 GB, free: 4.809 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.825579384341836]