Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002587/0.002587, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002235/0.002235, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.517/1.517, allocations: 177.1 MB / 203.9 MB, free: 5.312 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.043/3.043, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.838e-05/4.01e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003073/0.003113, allocations: 1.666 MB / 0.8124 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.2095/0.2126, allocations: 147.2 MB / 0.9561 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.2128, allocations: 4 kB / 0.9561 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.2129, allocations: 7.875 kB / 0.9561 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.2132, allocations: 51.62 kB / 0.9562 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.2138, allocations: 151.2 kB / 0.9563 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.214, allocations: 131.5 kB / 0.9565 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2141, allocations: 13.59 kB / 0.9565 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001938/0.2161, allocations: 265.5 kB / 0.9567 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 8.626e-05/0.2161, allocations: 35.89 kB / 0.9568 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.2162, allocations: 8 kB / 0.9568 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004341/0.2166, allocations: 163.7 kB / 0.9569 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.064e-05/0.2167, allocations: 31.91 kB / 0.9569 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.031e-05/0.2167, allocations: 27.92 kB / 0.957 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005172/0.2172, allocations: 215.3 kB / 0.9572 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2173, allocations: 0 / 0.9572 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2173, allocations: 0 / 0.9572 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.2173, allocations: 0 / 0.9572 GB, free: 11.8 MB / 0.9167 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.0007629/0.218, allocations: 471.4 kB / 0.9576 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2181, allocations: 8.031 kB / 0.9576 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.2191, allocations: 107.7 kB / 0.9577 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.2193, allocations: 163.8 kB / 0.9579 GB, free: 11 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.2194, allocations: 4 kB / 0.9579 GB, free: 11 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.2194, allocations: 8 kB / 0.9579 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.2198, allocations: 117.6 kB / 0.958 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2198, allocations: 0 / 0.958 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.2198, allocations: 4 kB / 0.958 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2198, allocations: 4 kB / 0.958 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.2202, allocations: 103.9 kB / 0.9581 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.2212, allocations: 387.4 kB / 0.9585 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006115/0.2218, allocations: 155.1 kB / 0.9586 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.222, allocations: 63.59 kB / 0.9587 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.2221, allocations: 3.984 kB / 0.9587 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.2221, allocations: 41.39 kB / 0.9587 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.2221, allocations: 4 kB / 0.9588 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0006691/0.2228, allocations: 161.6 kB / 0.9589 GB, free: 9.895 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.2228, allocations: 55.41 kB / 0.959 GB, free: 9.828 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.223, allocations: 207.7 kB / 0.9592 GB, free: 9.609 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.223, allocations: 25.7 kB / 0.9592 GB, free: 9.578 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.2232, allocations: 150.8 kB / 0.9593 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.2232, allocations: 31.83 kB / 0.9594 GB, free: 9.395 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.771e-05/0.2233, allocations: 35.36 kB / 0.9594 GB, free: 9.352 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003604/0.2236, allocations: 0.4923 MB / 0.9599 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.2238, allocations: 39.97 kB / 0.9599 GB, free: 8.809 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.224, allocations: 122.4 kB / 0.96 GB, free: 8.664 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.2244, allocations: 92.09 kB / 0.9601 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2244, allocations: 4 kB / 0.9601 GB, free: 8.566 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004166/0.2248, allocations: 129.5 kB / 0.9602 GB, free: 8.434 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.2248, allocations: 7.984 kB / 0.9602 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.2248, allocations: 4.031 kB / 0.9603 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.2248, allocations: 7.938 kB / 0.9603 GB, free: 8.414 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.225, allocations: 15.98 kB / 0.9603 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.225, allocations: 4 kB / 0.9603 GB, free: 8.395 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.2251, allocations: 11.92 kB / 0.9603 GB, free: 8.383 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.2251, allocations: 4 kB / 0.9603 GB, free: 8.379 MB / 0.9167 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.0001524/0.2253, allocations: 160.6 kB / 0.9604 GB, free: 8.211 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/0.2253, allocations: 19.84 kB / 0.9605 GB, free: 8.191 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.356e-05/0.2254, allocations: 20.77 kB / 0.9605 GB, free: 8.168 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2254, allocations: 0 / 0.9605 GB, free: 8.168 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.2254, allocations: 0 / 0.9605 GB, free: 8.168 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2254, allocations: 0 / 0.9605 GB, free: 8.168 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008362/0.2263, allocations: 433 kB / 0.9609 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2263, allocations: 0 / 0.9609 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.2264, allocations: 23.98 kB / 0.9609 GB, free: 7.684 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2264, allocations: 0 / 0.9609 GB, free: 7.684 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.2264, allocations: 3.984 kB / 0.9609 GB, free: 7.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2264, allocations: 0 / 0.9609 GB, free: 7.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2264, allocations: 4 kB / 0.9609 GB, free: 7.676 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/0.2269, allocations: 287.7 kB / 0.9612 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.755e-05/0.227, allocations: 3.953 kB / 0.9612 GB, free: 7.371 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.227, allocations: 4 kB / 0.9612 GB, free: 7.367 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.2271, allocations: 11.98 kB / 0.9612 GB, free: 7.355 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.2272, allocations: 15.92 kB / 0.9612 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.2272, allocations: 0 / 0.9612 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001148/0.2273, allocations: 149.8 kB / 0.9614 GB, free: 7.195 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.2273, allocations: 0 / 0.9614 GB, free: 7.195 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002948/0.2276, allocations: 35.94 kB / 0.9614 GB, free: 7.16 MB / 0.9167 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.0003508/0.228, allocations: 111.2 kB / 0.9615 GB, free: 7.043 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004156/0.2284, allocations: 111.5 kB / 0.9616 GB, free: 6.93 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2284, allocations: 0 / 0.9616 GB, free: 6.93 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.2286, allocations: 59.64 kB / 0.9617 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.229, allocations: 48.45 kB / 0.9617 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006427/0.2296, allocations: 229.7 kB / 0.962 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.2297, allocations: 93.86 kB / 0.962 GB, free: 6.457 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001328/0.2299, allocations: 24.66 kB / 0.9621 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.835e-05/0.2299, allocations: 20.48 kB / 0.9621 GB, free: 6.414 MB / 0.9167 GB Notification: Performance of SimCode: time 8.61e-07/0.2299, allocations: 0 / 0.9621 GB, free: 6.414 MB / 0.9167 GB Notification: Performance of Templates: time 0.0067/0.2366, allocations: 2.009 MB / 0.964 GB, free: 4.457 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.294417315977626]