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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 113.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.056/3.056, allocations: 489.3 MB / 0.7687 GB, free: 3.938 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 63.89 kB / 1.103 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.921/0.9229, allocations: 163.8 MB / 1.263 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002673/0.9257, allocations: 1.644 MB / 1.264 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1879/1.114, allocations: 151.5 MB / 1.412 GB, free: 6.863 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/1.114, allocations: 1.062 kB / 1.412 GB, free: 6.863 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001652/1.114, allocations: 17.3 kB / 1.412 GB, free: 6.848 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0002811/1.114, allocations: 44.61 kB / 1.412 GB, free: 6.812 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/1.115, allocations: 149.6 kB / 1.412 GB, free: 6.703 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001951/1.115, allocations: 120.7 kB / 1.412 GB, free: 6.633 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/1.115, allocations: 32.62 kB / 1.413 GB, free: 6.613 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/1.116, allocations: 179.1 kB / 1.413 GB, free: 6.531 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 8.018e-05/1.117, allocations: 40.78 kB / 1.413 GB, free: 6.504 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/1.117, allocations: 11.41 kB / 1.413 GB, free: 6.5 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004053/1.117, allocations: 180.5 kB / 1.413 GB, free: 6.41 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/1.117, allocations: 25.28 kB / 1.413 GB, free: 6.391 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 5.741e-05/1.117, allocations: 40.16 kB / 1.413 GB, free: 6.363 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003544/1.117, allocations: 197 kB / 1.413 GB, free: 6.242 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/1.117, allocations: 1.156 kB / 1.413 GB, free: 6.242 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.453e-06/1.117, allocations: 0 / 1.413 GB, free: 6.242 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.501e-06/1.117, allocations: 0 / 1.413 GB, free: 6.242 MB / 1.107 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.00065/1.118, allocations: 451.2 kB / 1.414 GB, free: 5.801 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/1.118, allocations: 9.75 kB / 1.414 GB, free: 5.801 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008914/1.119, allocations: 81.06 kB / 1.414 GB, free: 5.766 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/1.119, allocations: 208.3 kB / 1.414 GB, free: 5.535 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/1.119, allocations: 2.562 kB / 1.414 GB, free: 5.535 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/1.119, allocations: 9.312 kB / 1.414 GB, free: 5.531 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/1.12, allocations: 139.2 kB / 1.414 GB, free: 5.438 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/1.12, allocations: 1.188 kB / 1.414 GB, free: 5.438 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/1.12, allocations: 4 kB / 1.414 GB, free: 5.434 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/1.12, allocations: 10.06 kB / 1.414 GB, free: 5.426 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005593/1.12, allocations: 131.4 kB / 1.414 GB, free: 5.367 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007968/1.121, allocations: 415.3 kB / 1.415 GB, free: 4.973 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007515/1.122, allocations: 253.2 kB / 1.415 GB, free: 4.777 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/1.122, allocations: 82.03 kB / 1.415 GB, free: 4.73 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/1.122, allocations: 2.281 kB / 1.415 GB, free: 4.73 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/1.122, allocations: 35.81 kB / 1.415 GB, free: 4.688 MB / 1.107 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/1.122, allocations: 0 / 1.415 GB, free: 4.688 MB / 1.107 GB Notification: Performance of matching and sorting (n=8): time 0.0008144/1.123, allocations: 216.6 kB / 1.415 GB, free: 4.566 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/1.123, allocations: 52.72 kB / 1.415 GB, free: 4.504 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/1.123, allocations: 147.3 kB / 1.415 GB, free: 4.379 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/1.123, allocations: 31.22 kB / 1.415 GB, free: 4.344 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/1.123, allocations: 100 kB / 1.415 GB, free: 4.246 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/1.124, allocations: 31.62 kB / 1.415 GB, free: 4.219 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/1.124, allocations: 28.52 kB / 1.415 GB, free: 4.191 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.124, allocations: 321 kB / 1.416 GB, free: 3.871 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/1.124, allocations: 56.72 kB / 1.416 GB, free: 3.844 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/1.124, allocations: 78.92 kB / 1.416 GB, free: 3.789 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004437/1.125, allocations: 121 kB / 1.416 GB, free: 3.727 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.125, allocations: 0 / 1.416 GB, free: 3.727 MB / 1.107 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00051/1.125, allocations: 164.6 kB / 1.416 GB, free: 3.629 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/1.125, allocations: 5.156 kB / 1.416 GB, free: 3.629 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/1.125, allocations: 1.625 kB / 1.416 GB, free: 3.629 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/1.125, allocations: 0 / 1.416 GB, free: 3.629 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/1.125, allocations: 26.25 kB / 1.416 GB, free: 3.621 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/1.125, allocations: 5.219 kB / 1.416 GB, free: 3.617 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/1.126, allocations: 17.88 kB / 1.416 GB, free: 3.609 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/1.126, allocations: 1.469 kB / 1.416 GB, free: 3.609 MB / 1.107 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.0001061/1.126, allocations: 126.8 kB / 1.416 GB, free: 3.48 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/1.126, allocations: 12.59 kB / 1.416 GB, free: 3.473 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/1.126, allocations: 12.5 kB / 1.416 GB, free: 3.461 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/1.126, allocations: 7.984 kB / 1.416 GB, free: 3.453 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.126, allocations: 5.188 kB / 1.416 GB, free: 3.449 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/1.126, allocations: 0 / 1.416 GB, free: 3.449 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008834/1.127, allocations: 466.1 kB / 1.417 GB, free: 3.031 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.127, allocations: 4 kB / 1.417 GB, free: 3.027 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/1.127, allocations: 31.41 kB / 1.417 GB, free: 3.016 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/1.127, allocations: 0 / 1.417 GB, free: 3.016 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/1.127, allocations: 5.359 kB / 1.417 GB, free: 3.012 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.127, allocations: 7.875 kB / 1.417 GB, free: 3.004 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/1.127, allocations: 1.094 kB / 1.417 GB, free: 3.004 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005748/1.128, allocations: 259.8 kB / 1.417 GB, free: 2.805 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/1.128, allocations: 88.3 kB / 1.417 GB, free: 2.703 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/1.128, allocations: 1.125 kB / 1.417 GB, free: 2.703 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/1.128, allocations: 20.08 kB / 1.417 GB, free: 2.691 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/1.128, allocations: 11.05 kB / 1.417 GB, free: 2.684 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/1.128, allocations: 2.188 kB / 1.417 GB, free: 2.684 MB / 1.107 GB Notification: Performance of sorting global known variables: time 9.172e-05/1.128, allocations: 113.9 kB / 1.417 GB, free: 2.59 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.128, allocations: 1.062 kB / 1.417 GB, free: 2.59 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002749/1.128, allocations: 26.66 kB / 1.417 GB, free: 2.586 MB / 1.107 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.0001762/1.129, allocations: 119.2 kB / 1.418 GB, free: 2.484 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0005303/1.129, allocations: 128.7 kB / 1.418 GB, free: 2.426 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/1.129, allocations: 1.375 kB / 1.418 GB, free: 2.426 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002378/1.129, allocations: 63.83 kB / 1.418 GB, free: 2.398 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/1.13, allocations: 33.78 kB / 1.418 GB, free: 2.379 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005982/1.13, allocations: 260.6 kB / 1.418 GB, free: 2.16 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/1.131, allocations: 0.7042 MB / 1.419 GB, free: 1.449 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.136e-05/1.131, allocations: 22.92 kB / 1.419 GB, free: 1.434 MB / 1.107 GB Notification: Performance of SimCode: time 3.31e-07/1.131, allocations: 0 / 1.419 GB, free: 1.434 MB / 1.107 GB Notification: Performance of Templates: time 0.003698/1.134, allocations: 1.714 MB / 1.42 GB, free: 0.5586 MB / 1.107 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 -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_2/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: 11.546640807995573]