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.0009726/0.0009726, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001001/0.001001, allocations: 173 kB / 23.36 MB, free: 1.133 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.934/0.934, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.293/2.293, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 1.363e-06/1.363e-06, allocations: 3.938 kB / 0.8385 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.861e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002058/0.002077, allocations: 1.691 MB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1302/0.1323, allocations: 146.8 MB / 0.9836 GB, free: 9.156 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.1324, allocations: 4 kB / 0.9836 GB, free: 9.152 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.1325, allocations: 19.86 kB / 0.9836 GB, free: 9.133 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.1328, allocations: 51.56 kB / 0.9837 GB, free: 9.082 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.1331, allocations: 147.3 kB / 0.9838 GB, free: 8.938 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.1333, allocations: 127.5 kB / 0.9839 GB, free: 8.812 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.898e-05/0.1334, allocations: 22.23 kB / 0.984 GB, free: 8.789 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009668/0.1344, allocations: 268.1 kB / 0.9842 GB, free: 8.602 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.526e-05/0.1344, allocations: 35.89 kB / 0.9842 GB, free: 8.566 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.1345, allocations: 8 kB / 0.9843 GB, free: 8.559 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003195/0.1348, allocations: 167.6 kB / 0.9844 GB, free: 8.395 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.972e-05/0.1348, allocations: 27.91 kB / 0.9844 GB, free: 8.367 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.1349, allocations: 23.94 kB / 0.9845 GB, free: 8.344 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.1351, allocations: 195.3 kB / 0.9847 GB, free: 8.152 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1352, allocations: 0 / 0.9847 GB, free: 8.152 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1352, allocations: 0 / 0.9847 GB, free: 8.152 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.1352, allocations: 0 / 0.9847 GB, free: 8.152 MB / 0.948 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.0003798/0.1355, allocations: 331.9 kB / 0.985 GB, free: 7.805 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1356, allocations: 12.62 kB / 0.985 GB, free: 7.793 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005956/0.1362, allocations: 99.78 kB / 0.9851 GB, free: 7.695 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.1363, allocations: 158.3 kB / 0.9852 GB, free: 7.516 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1364, allocations: 8 kB / 0.9852 GB, free: 7.508 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.1364, allocations: 4 kB / 0.9852 GB, free: 7.504 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.1366, allocations: 114.3 kB / 0.9853 GB, free: 7.383 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.1366, allocations: 0 / 0.9853 GB, free: 7.383 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1366, allocations: 0 / 0.9853 GB, free: 7.383 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1366, allocations: 0 / 0.9853 GB, free: 7.383 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.196e-05/0.1367, allocations: 31.98 kB / 0.9854 GB, free: 7.352 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.1371, allocations: 246.8 kB / 0.9856 GB, free: 7.094 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.1373, allocations: 89.33 kB / 0.9857 GB, free: 6.996 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/0.1373, allocations: 24.83 kB / 0.9857 GB, free: 6.969 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.1374, allocations: 4 kB / 0.9857 GB, free: 6.965 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.1374, allocations: 42.44 kB / 0.9858 GB, free: 6.914 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.1374, allocations: 0 / 0.9858 GB, free: 6.914 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0001734/0.1376, allocations: 69.67 kB / 0.9858 GB, free: 6.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.1376, allocations: 51.41 kB / 0.9859 GB, free: 6.777 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.719e-05/0.1377, allocations: 133.1 kB / 0.986 GB, free: 6.637 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1377, allocations: 33.7 kB / 0.986 GB, free: 6.598 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.1377, allocations: 104.1 kB / 0.9861 GB, free: 6.492 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.1378, allocations: 31.78 kB / 0.9862 GB, free: 6.461 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.1378, allocations: 13.72 kB / 0.9862 GB, free: 6.441 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002739/0.1381, allocations: 322.8 kB / 0.9865 GB, free: 6.117 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.42e-05/0.1381, allocations: 11.98 kB / 0.9865 GB, free: 6.105 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.839e-05/0.1381, allocations: 8 kB / 0.9865 GB, free: 6.098 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.442e-05/0.1382, allocations: 48.05 kB / 0.9866 GB, free: 6.047 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1382, allocations: 0 / 0.9866 GB, free: 6.047 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001182/0.1383, allocations: 69.66 kB / 0.9866 GB, free: 5.973 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1383, allocations: 7.938 kB / 0.9866 GB, free: 5.965 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1383, allocations: 0 / 0.9866 GB, free: 5.965 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1384, allocations: 4 kB / 0.9866 GB, free: 5.961 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1385, allocations: 15.98 kB / 0.9866 GB, free: 5.945 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.1385, allocations: 0 / 0.9866 GB, free: 5.945 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.388e-05/0.1385, allocations: 23.8 kB / 0.9867 GB, free: 5.922 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.1385, allocations: 0 / 0.9867 GB, free: 5.922 MB / 0.948 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.207e-05/0.1386, allocations: 116.7 kB / 0.9868 GB, free: 5.797 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.1387, allocations: 15.92 kB / 0.9868 GB, free: 5.781 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/0.1387, allocations: 20.78 kB / 0.9868 GB, free: 5.766 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1387, allocations: 0 / 0.9868 GB, free: 5.766 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1387, allocations: 0 / 0.9868 GB, free: 5.766 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1387, allocations: 3.984 kB / 0.9868 GB, free: 5.762 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.1391, allocations: 246.7 kB / 0.9871 GB, free: 5.496 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1391, allocations: 0 / 0.9871 GB, free: 5.496 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.549e-05/0.1391, allocations: 27.92 kB / 0.9871 GB, free: 5.469 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1392, allocations: 0 / 0.9871 GB, free: 5.469 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1392, allocations: 3.984 kB / 0.9871 GB, free: 5.465 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1392, allocations: 0 / 0.9871 GB, free: 5.465 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1392, allocations: 0 / 0.9871 GB, free: 5.465 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.1393, allocations: 159.5 kB / 0.9872 GB, free: 5.293 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.1393, allocations: 19.83 kB / 0.9873 GB, free: 5.273 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.1393, allocations: 0 / 0.9873 GB, free: 5.273 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.444e-05/0.1394, allocations: 7.984 kB / 0.9873 GB, free: 5.266 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.1395, allocations: 15.92 kB / 0.9873 GB, free: 5.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.1395, allocations: 4 kB / 0.9873 GB, free: 5.246 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.307e-05/0.1395, allocations: 28.83 kB / 0.9873 GB, free: 5.215 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1395, allocations: 0 / 0.9873 GB, free: 5.215 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002778/0.1398, allocations: 35.89 kB / 0.9873 GB, free: 5.18 MB / 0.948 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.0005444/0.1403, allocations: 84.41 kB / 0.9874 GB, free: 5.086 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.1405, allocations: 48.81 kB / 0.9875 GB, free: 5.035 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.1405, allocations: 0 / 0.9875 GB, free: 5.035 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.905e-05/0.1405, allocations: 32.78 kB / 0.9875 GB, free: 5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.1408, allocations: 39.02 kB / 0.9875 GB, free: 4.965 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006048/0.1414, allocations: 230.9 kB / 0.9878 GB, free: 4.715 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.213e-05/0.1415, allocations: 67.34 kB / 0.9878 GB, free: 4.629 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.642e-05/0.1415, allocations: 20.64 kB / 0.9878 GB, free: 4.609 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.1417, allocations: 79.36 kB / 0.9879 GB, free: 4.531 MB / 0.948 GB Notification: Performance of SimCode: time 6.91e-07/0.1417, allocations: 3.938 kB / 0.9879 GB, free: 4.527 MB / 0.948 GB Notification: Performance of Templates: time 0.006208/0.1479, allocations: 2.017 MB / 0.9899 GB, free: 2.539 MB / 0.948 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.26104173483327]