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.001695/0.001695, 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.001903/0.001903, allocations: 222.2 kB / 23 MB, free: 4.914 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.303/3.303, allocations: 0.4892 GB / 0.7951 GB, free: 35.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002098/0.002098, allocations: 73.09 kB / 1.154 GB, free: 25.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3926, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00362/0.3962, allocations: 1.633 MB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.2288/0.625, allocations: 133.2 MB / 1.458 GB, free: 10.51 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.6251, allocations: 4 kB / 1.458 GB, free: 10.5 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.6253, allocations: 15.8 kB / 1.458 GB, free: 10.49 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003301/0.6256, allocations: 47.64 kB / 1.458 GB, free: 10.44 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005682/0.6262, allocations: 151.4 kB / 1.458 GB, free: 10.29 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.6264, allocations: 119.6 kB / 1.458 GB, free: 10.18 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.6265, allocations: 21.52 kB / 1.458 GB, free: 10.15 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.6281, allocations: 181.5 kB / 1.458 GB, free: 9.996 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 8.252e-05/0.6282, allocations: 35.84 kB / 1.458 GB, free: 9.961 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.6282, allocations: 8 kB / 1.459 GB, free: 9.953 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004546/0.6287, allocations: 175.7 kB / 1.459 GB, free: 9.781 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.6287, allocations: 27.86 kB / 1.459 GB, free: 9.754 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 6.068e-05/0.6288, allocations: 39.84 kB / 1.459 GB, free: 9.715 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004908/0.6293, allocations: 191.3 kB / 1.459 GB, free: 9.527 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6293, allocations: 0 / 1.459 GB, free: 9.527 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6293, allocations: 4 kB / 1.459 GB, free: 9.523 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.6293, allocations: 0 / 1.459 GB, free: 9.523 MB / 1.154 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.0007558/0.6301, allocations: 381.4 kB / 1.459 GB, free: 9.121 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.6301, allocations: 8.031 kB / 1.459 GB, free: 9.113 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.6311, allocations: 91.94 kB / 1.459 GB, free: 9.023 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.6314, allocations: 155 kB / 1.46 GB, free: 8.848 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.6314, allocations: 4 kB / 1.46 GB, free: 8.844 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.6315, allocations: 15.98 kB / 1.46 GB, free: 8.828 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/0.6319, allocations: 133.6 kB / 1.46 GB, free: 8.691 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.6319, allocations: 0 / 1.46 GB, free: 8.691 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.632, allocations: 4 kB / 1.46 GB, free: 8.688 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.632, allocations: 7.938 kB / 1.46 GB, free: 8.68 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005531/0.6325, allocations: 139.8 kB / 1.46 GB, free: 8.543 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008018/0.6333, allocations: 336.1 kB / 1.46 GB, free: 8.184 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007342/0.6341, allocations: 170.5 kB / 1.46 GB, free: 8.008 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.6343, allocations: 80.72 kB / 1.46 GB, free: 7.926 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.6343, allocations: 0 / 1.46 GB, free: 7.926 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.6344, allocations: 38.56 kB / 1.46 GB, free: 7.879 MB / 1.154 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.6344, allocations: 0 / 1.46 GB, free: 7.879 MB / 1.154 GB Notification: Performance of matching and sorting (n=8): time 0.0008316/0.6352, allocations: 209.5 kB / 1.461 GB, free: 7.668 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.6353, allocations: 55.34 kB / 1.461 GB, free: 7.602 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.6354, allocations: 136 kB / 1.461 GB, free: 7.461 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.6354, allocations: 25.7 kB / 1.461 GB, free: 7.43 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 7.829e-05/0.6355, allocations: 104.1 kB / 1.461 GB, free: 7.324 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.6355, allocations: 31.88 kB / 1.461 GB, free: 7.293 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.6356, allocations: 25.72 kB / 1.461 GB, free: 7.262 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.6358, allocations: 326.8 kB / 1.461 GB, free: 6.934 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.636, allocations: 51.94 kB / 1.461 GB, free: 6.883 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.6363, allocations: 125.9 kB / 1.461 GB, free: 6.738 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/0.6367, allocations: 120.8 kB / 1.462 GB, free: 6.617 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.6367, allocations: 0 / 1.462 GB, free: 6.617 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005235/0.6372, allocations: 165.5 kB / 1.462 GB, free: 6.449 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.6372, allocations: 4 kB / 1.462 GB, free: 6.445 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.6372, allocations: 0 / 1.462 GB, free: 6.445 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.062e-05/0.6373, allocations: 4 kB / 1.462 GB, free: 6.441 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.6375, allocations: 23.97 kB / 1.462 GB, free: 6.418 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.6375, allocations: 0 / 1.462 GB, free: 6.418 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.6376, allocations: 19.97 kB / 1.462 GB, free: 6.398 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.6377, allocations: 4 kB / 1.462 GB, free: 6.395 MB / 1.154 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.0001274/0.6378, allocations: 130.2 kB / 1.462 GB, free: 6.258 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.6378, allocations: 7.953 kB / 1.462 GB, free: 6.25 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.941e-05/0.6379, allocations: 20.64 kB / 1.462 GB, free: 6.227 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.6379, allocations: 4 kB / 1.462 GB, free: 6.223 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6379, allocations: 0 / 1.462 GB, free: 6.223 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.6379, allocations: 0 / 1.462 GB, free: 6.223 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008615/0.6388, allocations: 397.9 kB / 1.462 GB, free: 5.797 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.6388, allocations: 0 / 1.462 GB, free: 5.797 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.639, allocations: 27.97 kB / 1.462 GB, free: 5.77 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.639, allocations: 0 / 1.462 GB, free: 5.77 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.639, allocations: 4 kB / 1.462 GB, free: 5.766 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.639, allocations: 7.938 kB / 1.462 GB, free: 5.758 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.639, allocations: 0.625 kB / 1.462 GB, free: 5.758 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005718/0.6395, allocations: 263.2 kB / 1.463 GB, free: 5.484 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 1.794e-05/0.6396, allocations: 7.953 kB / 1.463 GB, free: 5.477 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.6396, allocations: 4 kB / 1.463 GB, free: 5.473 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.6398, allocations: 23.97 kB / 1.463 GB, free: 5.449 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.6398, allocations: 7.984 kB / 1.463 GB, free: 5.441 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.6398, allocations: 0 / 1.463 GB, free: 5.441 MB / 1.154 GB Notification: Performance of sorting global known variables: time 9.309e-05/0.6399, allocations: 111.2 kB / 1.463 GB, free: 5.332 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.6399, allocations: 0 / 1.463 GB, free: 5.332 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002852/0.6402, allocations: 35.92 kB / 1.463 GB, free: 5.297 MB / 1.154 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.0001782/0.6404, allocations: 107.2 kB / 1.463 GB, free: 5.184 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005357/0.6409, allocations: 131.8 kB / 1.463 GB, free: 5.055 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6409, allocations: 0 / 1.463 GB, free: 5.055 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.6412, allocations: 63.94 kB / 1.463 GB, free: 4.992 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.6415, allocations: 25.88 kB / 1.463 GB, free: 4.969 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007092/0.6422, allocations: 264.8 kB / 1.463 GB, free: 4.676 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.6423, allocations: 88.81 kB / 1.463 GB, free: 4.57 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.875e-05/0.6424, allocations: 15.44 kB / 1.463 GB, free: 4.555 MB / 1.154 GB Notification: Performance of SimCode: time 7.02e-07/0.6424, allocations: 3.938 kB / 1.463 GB, free: 4.551 MB / 1.154 GB Notification: Performance of Templates: time 0.004124/0.6465, allocations: 1.707 MB / 1.465 GB, free: 2.844 MB / 1.154 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 11.744913122616708]