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.001445/0.001445, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001588/0.001588, allocations: 222.1 kB / 23 MB, free: 4.91 MB / 14.72 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 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.285/3.285, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 68.12 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3474, allocations: 181.9 MB / 1.365 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002937/0.3503, allocations: 1.634 MB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1738/0.5241, allocations: 133.2 MB / 1.496 GB, free: 6.273 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.5242, allocations: 3.938 kB / 1.496 GB, free: 6.27 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.5244, allocations: 19.8 kB / 1.496 GB, free: 6.25 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.5247, allocations: 39.72 kB / 1.496 GB, free: 6.211 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004655/0.5252, allocations: 151.4 kB / 1.496 GB, free: 6.062 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.5254, allocations: 123.6 kB / 1.497 GB, free: 5.941 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.5255, allocations: 21.58 kB / 1.497 GB, free: 5.914 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.5269, allocations: 172.8 kB / 1.497 GB, free: 5.77 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 7.465e-05/0.527, allocations: 39.78 kB / 1.497 GB, free: 5.73 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.527, allocations: 8 kB / 1.497 GB, free: 5.723 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003871/0.5274, allocations: 179.6 kB / 1.497 GB, free: 5.547 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.5275, allocations: 19.92 kB / 1.497 GB, free: 5.527 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 5.944e-05/0.5275, allocations: 43.78 kB / 1.497 GB, free: 5.484 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.5279, allocations: 195.3 kB / 1.497 GB, free: 5.293 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5279, allocations: 4 kB / 1.497 GB, free: 5.289 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5279, allocations: 0 / 1.497 GB, free: 5.289 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.5279, allocations: 0 / 1.497 GB, free: 5.289 MB / 1.186 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.0006494/0.5286, allocations: 369.5 kB / 1.498 GB, free: 4.898 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.5286, allocations: 15.97 kB / 1.498 GB, free: 4.883 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009798/0.5296, allocations: 91.97 kB / 1.498 GB, free: 4.793 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.5298, allocations: 145 kB / 1.498 GB, free: 4.625 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.5299, allocations: 7.984 kB / 1.498 GB, free: 4.617 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.5299, allocations: 12 kB / 1.498 GB, free: 4.605 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.5303, allocations: 129.6 kB / 1.498 GB, free: 4.473 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.5303, allocations: 4 kB / 1.498 GB, free: 4.469 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.5304, allocations: 7.938 kB / 1.498 GB, free: 4.461 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.5304, allocations: 3.938 kB / 1.498 GB, free: 4.457 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005571/0.5309, allocations: 139.8 kB / 1.498 GB, free: 4.32 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000771/0.5317, allocations: 328.2 kB / 1.498 GB, free: 3.969 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007129/0.5324, allocations: 170.5 kB / 1.499 GB, free: 3.793 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.5327, allocations: 80.78 kB / 1.499 GB, free: 3.711 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.5327, allocations: 4 kB / 1.499 GB, free: 3.707 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.5327, allocations: 30.56 kB / 1.499 GB, free: 3.668 MB / 1.186 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.5327, allocations: 0 / 1.499 GB, free: 3.668 MB / 1.186 GB Notification: Performance of matching and sorting (n=8): time 0.0008243/0.5335, allocations: 213.4 kB / 1.499 GB, free: 3.453 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.5336, allocations: 59.39 kB / 1.499 GB, free: 3.383 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.5337, allocations: 131.9 kB / 1.499 GB, free: 3.246 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.5337, allocations: 29.7 kB / 1.499 GB, free: 3.211 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.5338, allocations: 104.1 kB / 1.499 GB, free: 3.105 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.5339, allocations: 27.89 kB / 1.499 GB, free: 3.078 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-05/0.5339, allocations: 21.7 kB / 1.499 GB, free: 3.051 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5341, allocations: 326.8 kB / 1.5 GB, free: 2.723 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.5343, allocations: 55.95 kB / 1.5 GB, free: 2.668 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.5346, allocations: 129.9 kB / 1.5 GB, free: 2.52 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004325/0.535, allocations: 128.8 kB / 1.5 GB, free: 2.391 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.535, allocations: 0 / 1.5 GB, free: 2.391 MB / 1.186 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005146/0.5355, allocations: 153.5 kB / 1.5 GB, free: 2.234 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.5355, allocations: 9.875 kB / 1.5 GB, free: 2.227 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5355, allocations: 8 kB / 1.5 GB, free: 2.219 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.5356, allocations: 0 / 1.5 GB, free: 2.219 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.5358, allocations: 31.95 kB / 1.5 GB, free: 2.188 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.882e-06/0.5358, allocations: 0 / 1.5 GB, free: 2.188 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.5359, allocations: 15.94 kB / 1.5 GB, free: 2.172 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.5359, allocations: 4 kB / 1.5 GB, free: 2.168 MB / 1.186 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.0001271/0.5361, allocations: 130.8 kB / 1.5 GB, free: 2.031 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.587e-05/0.5361, allocations: 7.953 kB / 1.5 GB, free: 2.023 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.996e-05/0.5362, allocations: 16.72 kB / 1.5 GB, free: 2.004 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.5362, allocations: 3.938 kB / 1.5 GB, free: 2 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5362, allocations: 0 / 1.5 GB, free: 2 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5362, allocations: 0 / 1.5 GB, free: 2 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.5372, allocations: 409.9 kB / 1.501 GB, free: 1.562 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5372, allocations: 0 / 1.501 GB, free: 1.562 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.5374, allocations: 23.97 kB / 1.501 GB, free: 1.539 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.5374, allocations: 7.984 kB / 1.501 GB, free: 1.531 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.5374, allocations: 3.938 kB / 1.501 GB, free: 1.527 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.5374, allocations: 0 / 1.501 GB, free: 1.527 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5374, allocations: 3.938 kB / 1.501 GB, free: 1.523 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005623/0.538, allocations: 260 kB / 1.501 GB, free: 1.254 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/0.538, allocations: 7.953 kB / 1.501 GB, free: 1.246 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.538, allocations: 0 / 1.501 GB, free: 1.246 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.5382, allocations: 15.98 kB / 1.501 GB, free: 1.23 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.5382, allocations: 7.984 kB / 1.501 GB, free: 1.223 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.5383, allocations: 11.98 kB / 1.501 GB, free: 1.211 MB / 1.186 GB Notification: Performance of sorting global known variables: time 8.455e-05/0.5383, allocations: 105.3 kB / 1.501 GB, free: 1.109 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.5383, allocations: 0 / 1.501 GB, free: 1.109 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002816/0.5386, allocations: 27.94 kB / 1.501 GB, free: 1.082 MB / 1.186 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.0001849/0.5388, allocations: 115.2 kB / 1.501 GB, free: 0.9609 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005361/0.5393, allocations: 135.8 kB / 1.501 GB, free: 0.8281 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5393, allocations: 0 / 1.501 GB, free: 0.8281 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.5396, allocations: 72.02 kB / 1.501 GB, free: 0.7578 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.5399, allocations: 27.98 kB / 1.501 GB, free: 0.7305 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006954/0.5406, allocations: 260.8 kB / 1.502 GB, free: 456 kB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.365e-05/0.5407, allocations: 84.19 kB / 1.502 GB, free: 352 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.483e-05/0.5408, allocations: 19.42 kB / 1.502 GB, free: 332 kB / 1.186 GB Notification: Performance of SimCode: time 3.5e-07/0.5408, allocations: 4 kB / 1.502 GB, free: 328 kB / 1.186 GB Notification: Performance of Templates: time 0.003885/0.5447, allocations: 1.698 MB / 1.503 GB, free: 14.63 MB / 1.201 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 800] 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/jenkins1/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: 11.602710055187345]