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.001159/0.001159, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001528/0.002687, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001094/0.001094, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001368/0.002462, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9312/0.9312, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0953/1.027, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.557/2.557, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2574/2.814, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.222e-06/1.222e-06, allocations: 0 / 0.8183 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165e-05/1.287e-05, allocations: 6.25 kB / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002009/0.002022, allocations: 1.734 MB / 0.82 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.1371/0.1391, allocations: 147.3 MB / 0.9638 GB, free: 13.34 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.1393, allocations: 4 kB / 0.9638 GB, free: 13.33 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.1394, allocations: 19.8 kB / 0.9638 GB, free: 13.31 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.1396, allocations: 51.58 kB / 0.9639 GB, free: 13.26 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.14, allocations: 143.2 kB / 0.964 GB, free: 13.12 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.1401, allocations: 123.6 kB / 0.9641 GB, free: 13 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.327e-05/0.1402, allocations: 22.23 kB / 0.9642 GB, free: 12.98 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000815/0.141, allocations: 269.3 kB / 0.9644 GB, free: 12.79 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.1411, allocations: 35.89 kB / 0.9644 GB, free: 12.75 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.1411, allocations: 8 kB / 0.9645 GB, free: 12.74 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.1414, allocations: 187.5 kB / 0.9646 GB, free: 12.56 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.479e-05/0.1414, allocations: 15.94 kB / 0.9646 GB, free: 12.54 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.1415, allocations: 23.94 kB / 0.9647 GB, free: 12.52 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.1417, allocations: 159.4 kB / 0.9648 GB, free: 12.36 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.595e-05/0.1417, allocations: 4 kB / 0.9648 GB, free: 12.36 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1417, allocations: 4 kB / 0.9648 GB, free: 12.36 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.1417, allocations: 4 kB / 0.9648 GB, free: 12.35 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.0004263/0.1421, allocations: 359.8 kB / 0.9652 GB, free: 11.98 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.1422, allocations: 12.62 kB / 0.9652 GB, free: 11.96 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004743/0.1426, allocations: 176.9 kB / 0.9654 GB, free: 11.77 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.1428, allocations: 155.4 kB / 0.9655 GB, free: 11.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1428, allocations: 8 kB / 0.9655 GB, free: 11.59 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.1428, allocations: 4 kB / 0.9655 GB, free: 11.59 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.143, allocations: 118.2 kB / 0.9656 GB, free: 11.46 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.143, allocations: 0 / 0.9656 GB, free: 11.46 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.143, allocations: 0 / 0.9656 GB, free: 11.46 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.143, allocations: 7.984 kB / 0.9656 GB, free: 11.45 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.809e-05/0.1431, allocations: 27.98 kB / 0.9657 GB, free: 11.43 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.1434, allocations: 250.7 kB / 0.9659 GB, free: 11.16 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.1436, allocations: 81.36 kB / 0.966 GB, free: 11.07 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.1436, allocations: 32.83 kB / 0.966 GB, free: 11.04 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1436, allocations: 0 / 0.966 GB, free: 11.04 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.1437, allocations: 34.5 kB / 0.966 GB, free: 11 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.1437, allocations: 0 / 0.966 GB, free: 11 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.00014/0.1438, allocations: 73.61 kB / 0.9661 GB, free: 10.92 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.1438, allocations: 51.41 kB / 0.9662 GB, free: 10.86 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.632e-05/0.1439, allocations: 138.7 kB / 0.9663 GB, free: 10.71 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.1439, allocations: 29.7 kB / 0.9663 GB, free: 10.67 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.1439, allocations: 100.1 kB / 0.9664 GB, free: 10.57 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.144, allocations: 35.72 kB / 0.9665 GB, free: 10.54 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.144, allocations: 17.72 kB / 0.9665 GB, free: 10.51 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.56e-05/0.1441, allocations: 322.8 kB / 0.9668 GB, free: 10.19 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.1441, allocations: 11.98 kB / 0.9668 GB, free: 10.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.824e-05/0.1441, allocations: 8 kB / 0.9668 GB, free: 10.17 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.845e-05/0.1442, allocations: 39.64 kB / 0.9668 GB, free: 10.12 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1442, allocations: 0 / 0.9668 GB, free: 10.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.189e-05/0.1442, allocations: 70.08 kB / 0.9669 GB, free: 10.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1442, allocations: 7.938 kB / 0.9669 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1443, allocations: 4 kB / 0.9669 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/0.1443, allocations: 0 / 0.9669 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.87e-05/0.1444, allocations: 23.97 kB / 0.9669 GB, free: 10.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.614e-06/0.1444, allocations: 0 / 0.9669 GB, free: 10.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.928e-05/0.1444, allocations: 8 kB / 0.9669 GB, free: 10.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-06/0.1444, allocations: 11.92 kB / 0.967 GB, free: 9.996 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 5.435e-05/0.1445, allocations: 116.7 kB / 0.9671 GB, free: 9.871 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.1445, allocations: 11.88 kB / 0.9671 GB, free: 9.859 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.1445, allocations: 16.77 kB / 0.9671 GB, free: 9.84 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1445, allocations: 4 kB / 0.9671 GB, free: 9.836 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.1445, allocations: 0 / 0.9671 GB, free: 9.836 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1445, allocations: 0 / 0.9671 GB, free: 9.836 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.1448, allocations: 254.7 kB / 0.9673 GB, free: 9.562 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1448, allocations: 0 / 0.9673 GB, free: 9.562 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.618e-05/0.1448, allocations: 31.91 kB / 0.9674 GB, free: 9.531 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.063e-05/0.1449, allocations: 11.89 kB / 0.9674 GB, free: 9.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1449, allocations: 0 / 0.9674 GB, free: 9.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.1449, allocations: 7.984 kB / 0.9674 GB, free: 9.512 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1449, allocations: 0 / 0.9674 GB, free: 9.512 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1449, allocations: 4 kB / 0.9674 GB, free: 9.508 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.349e-05/0.145, allocations: 155.5 kB / 0.9675 GB, free: 9.34 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.145, allocations: 0 / 0.9675 GB, free: 9.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.418e-05/0.145, allocations: 11.98 kB / 0.9676 GB, free: 9.328 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.1451, allocations: 11.98 kB / 0.9676 GB, free: 9.316 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-06/0.1451, allocations: 0 / 0.9676 GB, free: 9.316 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.188e-05/0.1451, allocations: 35.75 kB / 0.9676 GB, free: 9.281 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1451, allocations: 0 / 0.9676 GB, free: 9.281 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001512/0.1452, allocations: 31.89 kB / 0.9676 GB, free: 9.25 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.0001261/0.1454, allocations: 100.3 kB / 0.9677 GB, free: 9.145 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.552e-05/0.1454, allocations: 40.81 kB / 0.9678 GB, free: 9.102 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.1455, allocations: 4 kB / 0.9678 GB, free: 9.098 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.212e-05/0.1455, allocations: 32.78 kB / 0.9678 GB, free: 9.062 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.1457, allocations: 42.25 kB / 0.9678 GB, free: 9.023 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.1468, allocations: 246.9 kB / 0.9681 GB, free: 8.758 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.854e-05/0.1468, allocations: 71.2 kB / 0.9681 GB, free: 8.668 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.972e-05/0.1469, allocations: 24.7 kB / 0.9682 GB, free: 8.645 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.271e-05/0.147, allocations: 71.3 kB / 0.9682 GB, free: 8.574 MB / 0.948 GB Notification: Performance of SimCode: time 9.32e-07/0.147, allocations: 0 / 0.9682 GB, free: 8.574 MB / 0.948 GB Notification: Performance of Templates: time 0.003463/0.1504, allocations: 2.116 MB / 0.9703 GB, free: 6.496 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.ref.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.602172560058534]