Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001831/0.001831, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.002224/0.002224, allocations: 159.2 kB / 23.01 MB, free: 4.598 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.427/1.427, allocations: 177.2 MB / 203.4 MB, free: 8.902 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.983/2.983, allocations: 394.2 MB / 0.6386 GB, free: 11.92 MB / 0.6075 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: 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_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [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.00228/0.00228, allocations: 63.91 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8244/0.8267, allocations: 181.8 MB / 1.187 GB, free: 16.16 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00297/0.8296, allocations: 1.64 MB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1734/1.003, allocations: 133.2 MB / 1.318 GB, free: 15.03 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/1.003, allocations: 0 / 1.318 GB, free: 15.03 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001651/1.003, allocations: 19.8 kB / 1.318 GB, free: 15.01 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0002845/1.004, allocations: 39.66 kB / 1.318 GB, free: 14.97 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005722/1.004, allocations: 155.3 kB / 1.318 GB, free: 14.82 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0002561/1.004, allocations: 123.6 kB / 1.319 GB, free: 14.7 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/1.005, allocations: 21.52 kB / 1.319 GB, free: 14.67 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001544/1.006, allocations: 175 kB / 1.319 GB, free: 14.52 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 7.624e-05/1.006, allocations: 39.78 kB / 1.319 GB, free: 14.48 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/1.006, allocations: 4 kB / 1.319 GB, free: 14.48 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004073/1.007, allocations: 179.6 kB / 1.319 GB, free: 14.3 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.112e-05/1.007, allocations: 23.92 kB / 1.319 GB, free: 14.28 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 6.165e-05/1.007, allocations: 47.78 kB / 1.319 GB, free: 14.23 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.000364/1.007, allocations: 191 kB / 1.319 GB, free: 14.05 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/1.007, allocations: 0 / 1.319 GB, free: 14.05 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.242e-06/1.007, allocations: 0 / 1.319 GB, free: 14.05 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.05e-06/1.007, allocations: 0 / 1.319 GB, free: 14.05 MB / 1.17 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.0006526/1.008, allocations: 377.5 kB / 1.32 GB, free: 13.65 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/1.008, allocations: 8.031 kB / 1.32 GB, free: 13.64 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/1.009, allocations: 87.97 kB / 1.32 GB, free: 13.56 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/1.009, allocations: 153 kB / 1.32 GB, free: 13.38 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/1.009, allocations: 4 kB / 1.32 GB, free: 13.38 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/1.009, allocations: 12 kB / 1.32 GB, free: 13.37 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/1.01, allocations: 139.4 kB / 1.32 GB, free: 13.23 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/1.01, allocations: 0 / 1.32 GB, free: 13.23 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/1.01, allocations: 0 / 1.32 GB, free: 13.23 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/1.01, allocations: 3.938 kB / 1.32 GB, free: 13.22 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005751/1.01, allocations: 139.8 kB / 1.32 GB, free: 13.09 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007545/1.011, allocations: 336.1 kB / 1.32 GB, free: 12.73 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000728/1.012, allocations: 170.6 kB / 1.321 GB, free: 12.55 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/1.012, allocations: 76.73 kB / 1.321 GB, free: 12.47 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/1.012, allocations: 0 / 1.321 GB, free: 12.47 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/1.012, allocations: 34.56 kB / 1.321 GB, free: 12.43 MB / 1.17 GB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/1.012, allocations: 0 / 1.321 GB, free: 12.43 MB / 1.17 GB Notification: Performance of matching and sorting (n=8): time 0.0008558/1.013, allocations: 213.5 kB / 1.321 GB, free: 12.21 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/1.013, allocations: 59.34 kB / 1.321 GB, free: 12.14 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/1.013, allocations: 136.2 kB / 1.321 GB, free: 12 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/1.013, allocations: 29.7 kB / 1.321 GB, free: 11.97 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 7.504e-05/1.013, allocations: 104.2 kB / 1.321 GB, free: 11.86 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/1.013, allocations: 31.73 kB / 1.321 GB, free: 11.83 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/1.013, allocations: 25.7 kB / 1.321 GB, free: 11.8 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.013, allocations: 330.7 kB / 1.322 GB, free: 11.47 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/1.014, allocations: 47.95 kB / 1.322 GB, free: 11.42 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/1.014, allocations: 129.9 kB / 1.322 GB, free: 11.27 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004713/1.014, allocations: 124.8 kB / 1.322 GB, free: 11.15 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/1.014, allocations: 0 / 1.322 GB, free: 11.15 MB / 1.17 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005517/1.015, allocations: 165.5 kB / 1.322 GB, free: 10.98 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/1.015, allocations: 6.656 kB / 1.322 GB, free: 10.98 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/1.015, allocations: 0 / 1.322 GB, free: 10.98 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/1.015, allocations: 0 / 1.322 GB, free: 10.98 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/1.015, allocations: 31.95 kB / 1.322 GB, free: 10.95 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/1.015, allocations: 0 / 1.322 GB, free: 10.95 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/1.015, allocations: 19.94 kB / 1.322 GB, free: 10.93 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/1.015, allocations: 4.547 kB / 1.322 GB, free: 10.92 MB / 1.17 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.0001118/1.015, allocations: 125.8 kB / 1.322 GB, free: 10.79 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/1.015, allocations: 7.953 kB / 1.322 GB, free: 10.78 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.548e-05/1.016, allocations: 16.78 kB / 1.322 GB, free: 10.77 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/1.016, allocations: 0 / 1.322 GB, free: 10.77 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/1.016, allocations: 0 / 1.322 GB, free: 10.77 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/1.016, allocations: 0 / 1.322 GB, free: 10.77 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008839/1.016, allocations: 405.8 kB / 1.323 GB, free: 10.33 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.016, allocations: 0 / 1.323 GB, free: 10.33 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/1.017, allocations: 27.97 kB / 1.323 GB, free: 10.3 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/1.017, allocations: 0 / 1.323 GB, free: 10.3 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/1.017, allocations: 3.984 kB / 1.323 GB, free: 10.3 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.017, allocations: 80 / 1.323 GB, free: 10.3 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.017, allocations: 7.984 kB / 1.323 GB, free: 10.29 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005919/1.017, allocations: 263.3 kB / 1.323 GB, free: 10.02 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 1.65e-05/1.017, allocations: 7.891 kB / 1.323 GB, free: 10.01 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/1.017, allocations: 7.938 kB / 1.323 GB, free: 10 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/1.017, allocations: 19.98 kB / 1.323 GB, free: 9.984 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/1.017, allocations: 3.984 kB / 1.323 GB, free: 9.98 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/1.018, allocations: 7.984 kB / 1.323 GB, free: 9.973 MB / 1.17 GB Notification: Performance of sorting global known variables: time 7.581e-05/1.018, allocations: 109.1 kB / 1.323 GB, free: 9.867 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/1.018, allocations: 0 / 1.323 GB, free: 9.867 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002851/1.018, allocations: 31.94 kB / 1.323 GB, free: 9.836 MB / 1.17 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.0001757/1.018, allocations: 107.2 kB / 1.323 GB, free: 9.723 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005366/1.019, allocations: 127.8 kB / 1.323 GB, free: 9.598 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.019, allocations: 0 / 1.323 GB, free: 9.598 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002469/1.019, allocations: 63.94 kB / 1.323 GB, free: 9.535 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/1.019, allocations: 31.97 kB / 1.323 GB, free: 9.504 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006425/1.02, allocations: 239 kB / 1.324 GB, free: 9.246 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.886e-05/1.02, allocations: 88.31 kB / 1.324 GB, free: 9.141 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001272/1.02, allocations: 28.64 kB / 1.324 GB, free: 9.109 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/1.02, allocations: 16.48 kB / 1.324 GB, free: 9.094 MB / 1.17 GB Notification: Performance of SimCode: time 3.91e-07/1.02, allocations: 0 / 1.324 GB, free: 9.094 MB / 1.17 GB Notification: Performance of Templates: time 0.005398/1.025, allocations: 1.96 MB / 1.326 GB, free: 7.18 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.87567597196903]