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.002548/0.002548, allocations: 88.05 kB / 19.44 MB, free: 320 kB / 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.003219/0.003219, allocations: 173.3 kB / 22.76 MB, free: 1.641 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.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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 3.51/3.51, allocations: 429.4 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.928e-05, allocations: 6.312 kB / 0.8774 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003106/0.003136, allocations: 1.672 MB / 0.8791 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2085/0.2116, allocations: 147.1 MB / 1.023 GB, free: 1.324 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.516e-05/0.2117, allocations: 0 / 1.023 GB, free: 1.324 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.2119, allocations: 19.8 kB / 1.023 GB, free: 1.305 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.2121, allocations: 51.64 kB / 1.023 GB, free: 1.254 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.2126, allocations: 159.2 kB / 1.023 GB, free: 1.098 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.2127, allocations: 119.5 kB / 1.023 GB, free: 0.9805 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.2129, allocations: 29.55 kB / 1.023 GB, free: 0.9492 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/0.2146, allocations: 255.5 kB / 1.023 GB, free: 0.7617 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 7.008e-05/0.2147, allocations: 31.91 kB / 1.023 GB, free: 0.7305 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 2.417e-05/0.2147, allocations: 8 kB / 1.023 GB, free: 0.7227 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003887/0.2151, allocations: 179.6 kB / 1.024 GB, free: 0.5469 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 5.263e-05/0.2151, allocations: 23.91 kB / 1.024 GB, free: 0.5234 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 5.745e-05/0.2152, allocations: 31.92 kB / 1.024 GB, free: 0.4922 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0004263/0.2156, allocations: 215.3 kB / 1.024 GB, free: 288 kB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2156, allocations: 0 / 1.024 GB, free: 288 kB / 0.9792 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2156, allocations: 0 / 1.024 GB, free: 288 kB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.2156, allocations: 0 / 1.024 GB, free: 288 kB / 0.9792 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.0007281/0.2164, allocations: 463.5 kB / 1.024 GB, free: 15.79 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2164, allocations: 12.03 kB / 1.024 GB, free: 15.78 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000976/0.2174, allocations: 111.7 kB / 1.024 GB, free: 15.67 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.2176, allocations: 145.3 kB / 1.025 GB, free: 15.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.2176, allocations: 8 kB / 1.025 GB, free: 15.5 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.2177, allocations: 12 kB / 1.025 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.218, allocations: 113.5 kB / 1.025 GB, free: 15.37 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.2181, allocations: 4 kB / 1.025 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.2181, allocations: 4 kB / 1.025 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2181, allocations: 0 / 1.025 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004122/0.2185, allocations: 110.7 kB / 1.025 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008297/0.2193, allocations: 395.4 kB / 1.025 GB, free: 14.83 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005753/0.2199, allocations: 159.1 kB / 1.025 GB, free: 14.66 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.2201, allocations: 59.59 kB / 1.025 GB, free: 14.6 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.2201, allocations: 4 kB / 1.025 GB, free: 14.6 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.2201, allocations: 33.39 kB / 1.025 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.2201, allocations: 0 / 1.025 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8): time 0.0006275/0.2208, allocations: 177.5 kB / 1.026 GB, free: 14.38 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.2208, allocations: 55.41 kB / 1.026 GB, free: 14.31 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.221, allocations: 207.9 kB / 1.026 GB, free: 14.09 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.221, allocations: 25.7 kB / 1.026 GB, free: 14.06 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.2211, allocations: 154.8 kB / 1.026 GB, free: 13.9 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.2212, allocations: 23.94 kB / 1.026 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.2212, allocations: 31.36 kB / 1.026 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002817/0.2215, allocations: 0.4962 MB / 1.027 GB, free: 13.33 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.2217, allocations: 39.97 kB / 1.027 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.2219, allocations: 126.4 kB / 1.027 GB, free: 13.14 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.2222, allocations: 87.59 kB / 1.027 GB, free: 13.05 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.2222, allocations: 3.984 kB / 1.027 GB, free: 13.05 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003865/0.2226, allocations: 137.5 kB / 1.027 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.2226, allocations: 4 kB / 1.027 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.2226, allocations: 3.984 kB / 1.027 GB, free: 12.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2227, allocations: 0 / 1.027 GB, free: 12.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.2228, allocations: 19.98 kB / 1.027 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.2228, allocations: 0 / 1.027 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.2229, allocations: 19.92 kB / 1.027 GB, free: 12.86 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.223, allocations: 0 / 1.027 GB, free: 12.86 MB / 0.9948 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.0001413/0.2231, allocations: 164.5 kB / 1.027 GB, free: 12.69 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.2231, allocations: 19.89 kB / 1.027 GB, free: 12.67 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.736e-05/0.2232, allocations: 16.78 kB / 1.027 GB, free: 12.65 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2232, allocations: 0 / 1.027 GB, free: 12.65 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2232, allocations: 3.984 kB / 1.027 GB, free: 12.64 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2232, allocations: 0 / 1.027 GB, free: 12.64 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008104/0.224, allocations: 429.3 kB / 1.028 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.224, allocations: 3.938 kB / 1.028 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.2242, allocations: 19.98 kB / 1.028 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2242, allocations: 0 / 1.028 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.2242, allocations: 0 / 1.028 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2242, allocations: 0 / 1.028 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.2242, allocations: 3.984 kB / 1.028 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004664/0.2247, allocations: 276.4 kB / 1.028 GB, free: 11.87 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.339e-05/0.2247, allocations: 15.94 kB / 1.028 GB, free: 11.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.2247, allocations: 4 kB / 1.028 GB, free: 11.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.2249, allocations: 11.98 kB / 1.028 GB, free: 11.84 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.2249, allocations: 11.92 kB / 1.028 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.2249, allocations: 7.938 kB / 1.028 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001207/0.225, allocations: 149.6 kB / 1.028 GB, free: 11.67 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.225, allocations: 0 / 1.028 GB, free: 11.67 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002598/0.2253, allocations: 31.89 kB / 1.028 GB, free: 11.64 MB / 0.9948 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.0001958/0.2255, allocations: 119.2 kB / 1.028 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003838/0.2259, allocations: 103.7 kB / 1.028 GB, free: 11.41 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2259, allocations: 0 / 1.028 GB, free: 11.41 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.2261, allocations: 63.58 kB / 1.028 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.2264, allocations: 39.91 kB / 1.028 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005547/0.227, allocations: 225.8 kB / 1.029 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.2271, allocations: 92.3 kB / 1.029 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001177/0.2272, allocations: 20.66 kB / 1.029 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.247e-05/0.2273, allocations: 16.5 kB / 1.029 GB, free: 10.91 MB / 0.9948 GB Notification: Performance of SimCode: time 5.21e-07/0.2273, allocations: 0 / 1.029 GB, free: 10.91 MB / 0.9948 GB Notification: Performance of Templates: time 0.006194/0.2335, allocations: 2.027 MB / 1.031 GB, free: 8.934 MB / 0.9948 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 240] 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/jenkins/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.810260955942795]