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.0009777/0.0009777, allocations: 92.22 kB / 19.65 MB, free: 276 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.001027/0.001027, allocations: 173 kB / 23.03 MB, free: 1.543 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 0.9506/0.9506, allocations: 177.1 MB / 203.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.078/2.078, allocations: 429.5 MB / 0.6732 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 177] 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.[0-9,]+.|masFra2.X.[0-9,]+.|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.[0-9,]+.|masFra2.X.[0-9,]+.|masFra1.T",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.264e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002011/0.002034, allocations: 1.692 MB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1319/0.1339, allocations: 147.5 MB / 1.024 GB, free: 0.6523 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.134, allocations: 4 kB / 1.024 GB, free: 0.6484 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.1342, allocations: 15.75 kB / 1.024 GB, free: 0.6328 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.1344, allocations: 47.62 kB / 1.024 GB, free: 0.5859 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.1348, allocations: 159.2 kB / 1.024 GB, free: 440 kB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.135, allocations: 127.5 kB / 1.024 GB, free: 312 kB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1351, allocations: 25.52 kB / 1.024 GB, free: 284 kB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.1361, allocations: 248.5 kB / 1.024 GB, free: 100 kB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 5.562e-05/0.1362, allocations: 35.89 kB / 1.024 GB, free: 64 kB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.1362, allocations: 8 kB / 1.024 GB, free: 56 kB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003367/0.1365, allocations: 167.7 kB / 1.025 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.322e-05/0.1366, allocations: 31.77 kB / 1.025 GB, free: 15.86 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 4.148e-05/0.1366, allocations: 27.92 kB / 1.025 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.1369, allocations: 187.4 kB / 1.025 GB, free: 15.65 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.1369, allocations: 3.984 kB / 1.025 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1369, allocations: 0 / 1.025 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.1369, allocations: 0 / 1.025 GB, free: 15.64 MB / 0.9948 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.0004803/0.1374, allocations: 459.5 kB / 1.025 GB, free: 15.16 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1374, allocations: 8.031 kB / 1.025 GB, free: 15.15 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006995/0.1381, allocations: 115.6 kB / 1.025 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.1383, allocations: 157.2 kB / 1.026 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.1383, allocations: 4 kB / 1.026 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1384, allocations: 8 kB / 1.026 GB, free: 14.85 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.1386, allocations: 118.3 kB / 1.026 GB, free: 14.72 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1386, allocations: 0 / 1.026 GB, free: 14.72 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.1386, allocations: 3.984 kB / 1.026 GB, free: 14.72 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.1387, allocations: 4 kB / 1.026 GB, free: 14.71 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.1388, allocations: 51.91 kB / 1.026 GB, free: 14.66 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005493/0.1393, allocations: 371.5 kB / 1.026 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.1396, allocations: 115.1 kB / 1.026 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.013e-05/0.1397, allocations: 35.61 kB / 1.026 GB, free: 14.1 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.1397, allocations: 4 kB / 1.026 GB, free: 14.1 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.1397, allocations: 37.39 kB / 1.026 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.1397, allocations: 0 / 1.026 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8): time 0.0002679/0.14, allocations: 109.5 kB / 1.026 GB, free: 13.94 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.14, allocations: 55.41 kB / 1.026 GB, free: 13.87 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.616e-05/0.1401, allocations: 192 kB / 1.027 GB, free: 13.67 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.435e-05/0.1402, allocations: 25.7 kB / 1.027 GB, free: 13.64 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/0.1402, allocations: 146.8 kB / 1.027 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.1402, allocations: 27.89 kB / 1.027 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.1403, allocations: 31.36 kB / 1.027 GB, free: 13.42 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1404, allocations: 0.4962 MB / 1.027 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.303e-05/0.1405, allocations: 15.98 kB / 1.027 GB, free: 12.9 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.771e-05/0.1405, allocations: 12 kB / 1.027 GB, free: 12.89 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.757e-05/0.1406, allocations: 51.66 kB / 1.027 GB, free: 12.83 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1406, allocations: 0 / 1.027 GB, free: 12.83 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001556/0.1407, allocations: 89.5 kB / 1.027 GB, free: 12.74 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1408, allocations: 6.5 kB / 1.027 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1408, allocations: 0 / 1.027 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1408, allocations: 0 / 1.027 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1409, allocations: 23.98 kB / 1.028 GB, free: 12.71 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1409, allocations: 0 / 1.028 GB, free: 12.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.082e-05/0.1409, allocations: 19.92 kB / 1.028 GB, free: 12.69 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.141, allocations: 0 / 1.028 GB, free: 12.69 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 7.424e-05/0.141, allocations: 160.6 kB / 1.028 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.1411, allocations: 19.83 kB / 1.028 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/0.1411, allocations: 16.72 kB / 1.028 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1411, allocations: 4 kB / 1.028 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1411, allocations: 0 / 1.028 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1411, allocations: 3.938 kB / 1.028 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.1415, allocations: 369.3 kB / 1.028 GB, free: 12.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1415, allocations: 0 / 1.028 GB, free: 12.07 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.884e-05/0.1416, allocations: 27.97 kB / 1.028 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1416, allocations: 3.938 kB / 1.028 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.1416, allocations: 4 kB / 1.028 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1416, allocations: 8 kB / 1.028 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1416, allocations: 0 / 1.028 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.1418, allocations: 231.8 kB / 1.028 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.1418, allocations: 7.953 kB / 1.028 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.1418, allocations: 0 / 1.028 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.142, allocations: 11.98 kB / 1.028 GB, free: 11.76 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.1421, allocations: 11.97 kB / 1.028 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.1421, allocations: 4 kB / 1.028 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 5.526e-05/0.1421, allocations: 145.6 kB / 1.029 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.1421, allocations: 0 / 1.029 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000256/0.1424, allocations: 43.89 kB / 1.029 GB, free: 11.56 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.0001387/0.1425, allocations: 111.1 kB / 1.029 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001495/0.1427, allocations: 56.34 kB / 1.029 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.1427, allocations: 0 / 1.029 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 6.233e-05/0.1427, allocations: 43.75 kB / 1.029 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.0003186/0.143, allocations: 39.91 kB / 1.029 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006592/0.1437, allocations: 217.8 kB / 1.029 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.164e-05/0.1437, allocations: 67.33 kB / 1.029 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 9.422e-05/0.1438, allocations: 24.72 kB / 1.029 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.1439, allocations: 16.5 kB / 1.029 GB, free: 10.94 MB / 0.9948 GB Notification: Performance of SimCode: time 4.51e-07/0.1439, allocations: 0 / 1.029 GB, free: 10.94 MB / 0.9948 GB Notification: Performance of Templates: time 0.004067/0.148, allocations: 2.101 MB / 1.031 GB, free: 8.875 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.379484107717872]