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.001849/0.001849, allocations: 80.25 kB / 19.18 MB, free: 2.527 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.002128/0.002128, allocations: 164.7 kB / 22.46 MB, free: 5.359 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.487/1.487, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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 2.923/2.923, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 3.938 kB / 1 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.276e-05/3.457e-05, allocations: 9.234 kB / 1 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002511/0.002545, allocations: 1.288 MB / 1.001 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.00402, allocations: 0.7593 MB / 1.002 GB, free: 4.148 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.473e-05/0.004044, allocations: 4 kB / 1.002 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.299e-05/0.004067, allocations: 3.938 kB / 1.002 GB, free: 4.141 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.682e-05/0.004114, allocations: 11.92 kB / 1.002 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005846/0.004699, allocations: 131.3 kB / 1.002 GB, free: 4 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.49e-05/0.004794, allocations: 27.84 kB / 1.002 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.384e-05/0.004848, allocations: 8 kB / 1.002 GB, free: 3.965 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 6.372e-05/0.004911, allocations: 15.98 kB / 1.002 GB, free: 3.949 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.635e-05/0.004978, allocations: 7.984 kB / 1.002 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.004994, allocations: 3.938 kB / 1.002 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.005308, allocations: 155.7 kB / 1.002 GB, free: 3.785 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.489e-05/0.005333, allocations: 11.98 kB / 1.002 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.005358, allocations: 7.938 kB / 1.002 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.005642, allocations: 139.6 kB / 1.003 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.005647, allocations: 0 / 1.003 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.413e-06/0.005648, allocations: 0 / 1.003 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.005659, allocations: 0 / 1.003 GB, free: 3.629 MB / 0.9044 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.0005006/0.006159, allocations: 290 kB / 1.003 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.006202, allocations: 8.031 kB / 1.003 GB, free: 3.305 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.006248, allocations: 4.938 kB / 1.003 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.006365, allocations: 105.8 kB / 1.003 GB, free: 3.172 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.934e-05/0.006464, allocations: 59.97 kB / 1.003 GB, free: 3.102 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.006479, allocations: 384 / 1.003 GB, free: 3.102 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.006648, allocations: 79.88 kB / 1.003 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.006657, allocations: 192 / 1.003 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.006667, allocations: 384 / 1.003 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.006676, allocations: 8.109 kB / 1.003 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.00678, allocations: 19.98 kB / 1.003 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.006938, allocations: 105.3 kB / 1.003 GB, free: 2.852 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.00717, allocations: 46.55 kB / 1.003 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.336e-05/0.007233, allocations: 24.94 kB / 1.003 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.007456, allocations: 27.91 kB / 1.003 GB, free: 2.742 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.007492, allocations: 38.56 kB / 1.003 GB, free: 2.695 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.007493, allocations: 0 / 1.003 GB, free: 2.695 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.000266/0.007759, allocations: 65.62 kB / 1.003 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.007798, allocations: 55.41 kB / 1.004 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.775e-05/0.007876, allocations: 105.8 kB / 1.004 GB, free: 2.445 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.007894, allocations: 25.7 kB / 1.004 GB, free: 2.414 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.007927, allocations: 80.14 kB / 1.004 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.007958, allocations: 15.92 kB / 1.004 GB, free: 2.316 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.007993, allocations: 17.67 kB / 1.004 GB, free: 2.293 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.008129, allocations: 318.8 kB / 1.004 GB, free: 1.973 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.9e-05/0.008178, allocations: 7.984 kB / 1.004 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.365e-05/0.008232, allocations: 11.94 kB / 1.004 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.008335, allocations: 28.84 kB / 1.004 GB, free: 1.922 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.008336, allocations: 0 / 1.004 GB, free: 1.922 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001387/0.008475, allocations: 61.67 kB / 1.004 GB, free: 1.855 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.008487, allocations: 8 kB / 1.004 GB, free: 1.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.008492, allocations: 0 / 1.004 GB, free: 1.848 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.008506, allocations: 0 / 1.004 GB, free: 1.848 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.315e-05/0.008559, allocations: 8 kB / 1.004 GB, free: 1.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.008567, allocations: 7.875 kB / 1.004 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.446e-05/0.008602, allocations: 4 kB / 1.004 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.008607, allocations: 3.938 kB / 1.004 GB, free: 1.824 MB / 0.9044 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.563e-05/0.008693, allocations: 114.5 kB / 1.004 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.008703, allocations: 4 kB / 1.004 GB, free: 1.699 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.008893, allocations: 69.36 kB / 1.004 GB, free: 1.617 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.008895, allocations: 0.5625 kB / 1.004 GB, free: 1.617 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.008899, allocations: 0 / 1.004 GB, free: 1.617 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.008904, allocations: 3.938 kB / 1.004 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.542e-05/0.009, allocations: 105.3 kB / 1.004 GB, free: 1.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.009004, allocations: 3.984 kB / 1.004 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.009051, allocations: 8 kB / 1.004 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.009053, allocations: 4 kB / 1.004 GB, free: 1.465 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.00906, allocations: 0 / 1.004 GB, free: 1.465 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.009061, allocations: 4 kB / 1.004 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.009064, allocations: 3.984 kB / 1.004 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.009232, allocations: 88.98 kB / 1.005 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.009269, allocations: 7.938 kB / 1.005 GB, free: 1.344 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.009281, allocations: 0 / 1.005 GB, free: 1.344 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.095e-05/0.009332, allocations: 3.984 kB / 1.005 GB, free: 1.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.00937, allocations: 7.938 kB / 1.005 GB, free: 1.332 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.009374, allocations: 0 / 1.005 GB, free: 1.332 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.003e-05/0.009424, allocations: 87.22 kB / 1.005 GB, free: 1.246 MB / 0.9044 GB Notification: Performance of sort global known variables: time 8e-08/0.009424, allocations: 0 / 1.005 GB, free: 1.246 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002448/0.009669, allocations: 39.86 kB / 1.005 GB, free: 1.207 MB / 0.9044 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.0002724/0.009942, allocations: 147.1 kB / 1.005 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001665/0.01011, allocations: 27.92 kB / 1.005 GB, free: 1.027 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01011, allocations: 0 / 1.005 GB, free: 1.027 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.551e-05/0.01017, allocations: 11.98 kB / 1.005 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.01041, allocations: 13.34 kB / 1.005 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.01075, allocations: 116.8 kB / 1.005 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.967e-05/0.01082, allocations: 67.28 kB / 1.005 GB, free: 0.7773 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.044e-05/0.01086, allocations: 7.984 kB / 1.005 GB, free: 0.7695 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.01089, allocations: 8.5 kB / 1.005 GB, free: 0.7617 MB / 0.9044 GB Notification: Performance of SimCode: time 3.2e-07/0.01089, allocations: 4 kB / 1.005 GB, free: 0.7578 MB / 0.9044 GB Notification: Performance of Templates: time 0.004424/0.01531, allocations: 1.134 MB / 1.006 GB, free: 15.64 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 800] 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: 8.21826908364892]