Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.002111/0.002111, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002268/0.002268, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.461/1.461, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.709/2.709, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.461e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003432/0.003456, allocations: 1.636 MB / 0.788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1961/0.1995, allocations: 133.2 MB / 0.918 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.1997, allocations: 0 / 0.918 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.1998, allocations: 19.8 kB / 0.9181 GB, free: 5.523 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003027/0.2001, allocations: 47.64 kB / 0.9181 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004673/0.2006, allocations: 147.3 kB / 0.9183 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.2008, allocations: 123.5 kB / 0.9184 GB, free: 5.211 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.2009, allocations: 25.52 kB / 0.9184 GB, free: 5.184 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/0.2026, allocations: 254.7 kB / 0.9186 GB, free: 5.008 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.807e-05/0.2027, allocations: 39.88 kB / 0.9187 GB, free: 4.969 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.2027, allocations: 4 kB / 0.9187 GB, free: 4.965 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004248/0.2031, allocations: 179.6 kB / 0.9189 GB, free: 4.789 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 5.174e-05/0.2032, allocations: 19.92 kB / 0.9189 GB, free: 4.77 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 6.011e-05/0.2032, allocations: 31.92 kB / 0.9189 GB, free: 4.738 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004367/0.2037, allocations: 211.3 kB / 0.9191 GB, free: 4.531 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2037, allocations: 0 / 0.9191 GB, free: 4.531 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2037, allocations: 0 / 0.9191 GB, free: 4.531 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.2037, allocations: 0 / 0.9191 GB, free: 4.531 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000725/0.2044, allocations: 373.5 kB / 0.9195 GB, free: 4.137 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.2044, allocations: 8.031 kB / 0.9195 GB, free: 4.129 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.2055, allocations: 115.7 kB / 0.9196 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.2058, allocations: 153 kB / 0.9197 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.2058, allocations: 8 kB / 0.9197 GB, free: 3.832 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.2058, allocations: 4 kB / 0.9197 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004836/0.2063, allocations: 141.4 kB / 0.9199 GB, free: 3.684 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2063, allocations: 4 kB / 0.9199 GB, free: 3.68 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.2064, allocations: 0 / 0.9199 GB, free: 3.68 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.2064, allocations: 4 kB / 0.9199 GB, free: 3.676 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006029/0.207, allocations: 131.9 kB / 0.92 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008382/0.2078, allocations: 344.1 kB / 0.9203 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007432/0.2085, allocations: 162.6 kB / 0.9205 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.2088, allocations: 72.73 kB / 0.9206 GB, free: 2.938 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.2088, allocations: 7.984 kB / 0.9206 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.901e-05/0.2089, allocations: 42.5 kB / 0.9206 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.2089, allocations: 0 / 0.9206 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0008751/0.2098, allocations: 209.5 kB / 0.9208 GB, free: 2.668 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.2098, allocations: 55.41 kB / 0.9209 GB, free: 2.602 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.21, allocations: 140.7 kB / 0.921 GB, free: 2.457 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.21, allocations: 25.7 kB / 0.921 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.2101, allocations: 104.1 kB / 0.9211 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.2101, allocations: 27.89 kB / 0.9211 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/0.2102, allocations: 25.7 kB / 0.9212 GB, free: 2.262 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.2104, allocations: 322.8 kB / 0.9215 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.2106, allocations: 51.94 kB / 0.9215 GB, free: 1.887 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/0.2109, allocations: 133.9 kB / 0.9216 GB, free: 1.734 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004542/0.2114, allocations: 117.2 kB / 0.9218 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2114, allocations: 0 / 0.9218 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005499/0.2119, allocations: 165.5 kB / 0.9219 GB, free: 1.449 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2119, allocations: 11.98 kB / 0.9219 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.2119, allocations: 4 kB / 0.9219 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.2119, allocations: 0 / 0.9219 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.2122, allocations: 39.91 kB / 0.922 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2122, allocations: 0 / 0.922 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.2123, allocations: 15.97 kB / 0.922 GB, free: 1.379 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.2124, allocations: 7.984 kB / 0.922 GB, free: 1.371 MB / 0.8698 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 (8): * Single equations (assignments): 8 * 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 0.0001203/0.2125, allocations: 113.8 kB / 0.9221 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.2125, allocations: 19.84 kB / 0.9221 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.201e-05/0.2126, allocations: 12.78 kB / 0.9221 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2126, allocations: 4 kB / 0.9221 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2126, allocations: 0 / 0.9221 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2126, allocations: 7.984 kB / 0.9221 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009083/0.2135, allocations: 393.9 kB / 0.9225 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2135, allocations: 4 kB / 0.9225 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.2137, allocations: 31.95 kB / 0.9226 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.2137, allocations: 0 / 0.9226 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.2137, allocations: 0 / 0.9226 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.2137, allocations: 4 kB / 0.9226 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2137, allocations: 0 / 0.9226 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006105/0.2143, allocations: 259.3 kB / 0.9228 GB, free: 492 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.2144, allocations: 15.91 kB / 0.9228 GB, free: 476 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.2144, allocations: 3.938 kB / 0.9228 GB, free: 472 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.2146, allocations: 19.97 kB / 0.9228 GB, free: 452 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.2146, allocations: 11.92 kB / 0.9229 GB, free: 440 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.2146, allocations: 4 kB / 0.9229 GB, free: 436 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.866e-05/0.2147, allocations: 101.3 kB / 0.923 GB, free: 336 kB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.2147, allocations: 0 / 0.923 GB, free: 336 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002875/0.215, allocations: 35.94 kB / 0.923 GB, free: 300 kB / 0.8698 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 (8): * Single equations (assignments): 8 * 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.0002167/0.2152, allocations: 119.2 kB / 0.9231 GB, free: 168 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000555/0.2158, allocations: 119.9 kB / 0.9232 GB, free: 48 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2158, allocations: 4 kB / 0.9232 GB, free: 44 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000266/0.2161, allocations: 67.88 kB / 0.9233 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.2165, allocations: 40.39 kB / 0.9233 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006737/0.2171, allocations: 228.2 kB / 0.9235 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.2172, allocations: 84.31 kB / 0.9236 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001396/0.2174, allocations: 28.7 kB / 0.9237 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.2174, allocations: 20.5 kB / 0.9237 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of SimCode: time 3.3e-07/0.2174, allocations: 0 / 0.9237 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of Templates: time 0.005938/0.2234, allocations: 2.019 MB / 0.9256 GB, free: 13.58 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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: 7.720744938007556]