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.001868/0.001868, allocations: 106.2 kB / 16.45 MB, free: 6.457 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.002158/0.002158, allocations: 209.7 kB / 19.43 MB, free: 3.621 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.567/1.567, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.415/3.415, allocations: 0.49 GB / 0.7916 GB, free: 33.54 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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) [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.002025/0.002025, allocations: 68.72 kB / 1.149 GB, free: 26.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3848, allocations: 176.1 MB / 1.321 GB, free: 3.223 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00362/0.3885, allocations: 1.675 MB / 1.322 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.2049/0.5934, allocations: 154.9 MB / 1.474 GB, free: 6.102 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.5935, allocations: 0 / 1.474 GB, free: 6.102 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.5937, allocations: 15.81 kB / 1.474 GB, free: 6.086 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.594, allocations: 51.69 kB / 1.474 GB, free: 6.035 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.5946, allocations: 139.4 kB / 1.474 GB, free: 5.898 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.5948, allocations: 127.6 kB / 1.474 GB, free: 5.773 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.5949, allocations: 21.39 kB / 1.474 GB, free: 5.746 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.5964, allocations: 168.7 kB / 1.474 GB, free: 5.605 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 8.009e-05/0.5965, allocations: 47.83 kB / 1.474 GB, free: 5.559 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.5965, allocations: 4 kB / 1.474 GB, free: 5.555 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004173/0.5969, allocations: 191.6 kB / 1.474 GB, free: 5.367 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.597, allocations: 27.86 kB / 1.474 GB, free: 5.34 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 6.758e-05/0.5971, allocations: 39.8 kB / 1.474 GB, free: 5.301 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003939/0.5974, allocations: 195.3 kB / 1.475 GB, free: 5.109 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5975, allocations: 0 / 1.475 GB, free: 5.109 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.492e-06/0.5975, allocations: 0 / 1.475 GB, free: 5.109 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.5975, allocations: 0 / 1.475 GB, free: 5.109 MB / 1.17 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.0007711/0.5982, allocations: 454.6 kB / 1.475 GB, free: 4.617 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.5983, allocations: 15.98 kB / 1.475 GB, free: 4.602 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.935e-05/0.5984, allocations: 34.75 kB / 1.475 GB, free: 4.559 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.5994, allocations: 91.78 kB / 1.475 GB, free: 4.469 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.5997, allocations: 216.6 kB / 1.475 GB, free: 4.219 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.5997, allocations: 4 kB / 1.475 GB, free: 4.215 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.5997, allocations: 8 kB / 1.475 GB, free: 4.207 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.6002, allocations: 137.5 kB / 1.476 GB, free: 4.066 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.6002, allocations: 0 / 1.476 GB, free: 4.066 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.6002, allocations: 11.94 kB / 1.476 GB, free: 4.055 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.6002, allocations: 0 / 1.476 GB, free: 4.055 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005693/0.6008, allocations: 139.8 kB / 1.476 GB, free: 3.918 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008753/0.6017, allocations: 424.3 kB / 1.476 GB, free: 3.453 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007623/0.6024, allocations: 247.7 kB / 1.476 GB, free: 3.184 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.6027, allocations: 76.73 kB / 1.476 GB, free: 3.105 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.6027, allocations: 0 / 1.476 GB, free: 3.105 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.6027, allocations: 30.56 kB / 1.476 GB, free: 3.066 MB / 1.17 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.6027, allocations: 0 / 1.476 GB, free: 3.066 MB / 1.17 GB Notification: Performance of matching and sorting (n=8): time 0.0008669/0.6036, allocations: 217.7 kB / 1.477 GB, free: 2.848 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.6037, allocations: 55.41 kB / 1.477 GB, free: 2.781 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.6038, allocations: 148.3 kB / 1.477 GB, free: 2.629 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.6039, allocations: 29.7 kB / 1.477 GB, free: 2.594 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 8.578e-05/0.6039, allocations: 104.1 kB / 1.477 GB, free: 2.488 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.771e-05/0.604, allocations: 31.88 kB / 1.477 GB, free: 2.457 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/0.6041, allocations: 25.7 kB / 1.477 GB, free: 2.426 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.6042, allocations: 326.8 kB / 1.477 GB, free: 2.098 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.6045, allocations: 55.94 kB / 1.477 GB, free: 2.043 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.6047, allocations: 78.58 kB / 1.477 GB, free: 1.957 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004531/0.6052, allocations: 116.8 kB / 1.478 GB, free: 1.84 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.6052, allocations: 0 / 1.478 GB, free: 1.84 MB / 1.17 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005197/0.6057, allocations: 161.5 kB / 1.478 GB, free: 1.676 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.6057, allocations: 4 kB / 1.478 GB, free: 1.672 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.6057, allocations: 4 kB / 1.478 GB, free: 1.668 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.6057, allocations: 0 / 1.478 GB, free: 1.668 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.606, allocations: 31.95 kB / 1.478 GB, free: 1.637 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.606, allocations: 0 / 1.478 GB, free: 1.637 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.6061, allocations: 19.98 kB / 1.478 GB, free: 1.617 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.6061, allocations: 7.922 kB / 1.478 GB, free: 1.609 MB / 1.17 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.0001186/0.6063, allocations: 113.8 kB / 1.478 GB, free: 1.488 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.6063, allocations: 19.91 kB / 1.478 GB, free: 1.469 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.851e-05/0.6064, allocations: 12.72 kB / 1.478 GB, free: 1.453 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.6064, allocations: 7.984 kB / 1.478 GB, free: 1.445 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6064, allocations: 0 / 1.478 GB, free: 1.445 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.6064, allocations: 0 / 1.478 GB, free: 1.445 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009107/0.6073, allocations: 466.2 kB / 1.478 GB, free: 0.9336 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.6073, allocations: 0 / 1.478 GB, free: 0.9336 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.6075, allocations: 35.91 kB / 1.478 GB, free: 0.8984 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.6075, allocations: 0 / 1.478 GB, free: 0.8984 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.6075, allocations: 0 / 1.478 GB, free: 0.8984 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.6075, allocations: 7.875 kB / 1.478 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6075, allocations: 4 kB / 1.478 GB, free: 0.8867 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005744/0.6081, allocations: 263.3 kB / 1.479 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.6081, allocations: 85.06 kB / 1.479 GB, free: 0.5117 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.6082, allocations: 8 kB / 1.479 GB, free: 0.5039 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.6083, allocations: 19.91 kB / 1.479 GB, free: 496 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.6084, allocations: 11.98 kB / 1.479 GB, free: 484 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.6084, allocations: 4 kB / 1.479 GB, free: 480 kB / 1.17 GB Notification: Performance of sorting global known variables: time 8.323e-05/0.6085, allocations: 108.9 kB / 1.479 GB, free: 372 kB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.6085, allocations: 4 kB / 1.479 GB, free: 368 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002749/0.6088, allocations: 27.94 kB / 1.479 GB, free: 340 kB / 1.17 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.001017/0.6098, allocations: 0.802 MB / 1.48 GB, free: 15.5 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005318/0.6103, allocations: 124.3 kB / 1.48 GB, free: 15.38 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.6103, allocations: 0 / 1.48 GB, free: 15.38 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.6106, allocations: 72.03 kB / 1.48 GB, free: 15.31 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.6109, allocations: 33.77 kB / 1.48 GB, free: 15.28 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.6137, allocations: 1.739 MB / 1.482 GB, free: 13.46 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.6141, allocations: 0.7002 MB / 1.482 GB, free: 12.74 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.6142, allocations: 24.42 kB / 1.482 GB, free: 12.71 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.908e-05/0.6143, allocations: 31.42 kB / 1.482 GB, free: 12.68 MB / 1.186 GB Notification: Performance of SimCode: time 2.71e-07/0.6143, allocations: 0 / 1.482 GB, free: 12.68 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.6412, allocations: 3.376 MB / 1.486 GB, free: 9.438 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.373/9.014, allocations: 7.938 kB / 1.486 GB, free: 9.43 MB / 1.186 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv","/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] "Error: Could not read variable masFra1.phi in file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv. Warning: Get data of variable masFra1.phi from file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv failed! Error: Could not read variable masFra1.T in file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv. Warning: Get data of variable masFra1.T from file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.177338106092066]