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.001344/0.001344, allocations: 103 kB / 16.45 MB, free: 6.453 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.00145/0.00145, allocations: 212.9 kB / 19.43 MB, free: 3.633 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 / 252.8 MB, free: 9.113 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.398/3.398, allocations: 0.49 GB / 0.7916 GB, free: 33.28 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.002022/0.002022, allocations: 64.64 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3302, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002818/0.3331, allocations: 1.664 MB / 1.322 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1948/0.5278, allocations: 154.9 MB / 1.474 GB, free: 6.238 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.5279, allocations: 0 / 1.474 GB, free: 6.238 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.5281, allocations: 23.8 kB / 1.474 GB, free: 6.215 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.5284, allocations: 43.64 kB / 1.474 GB, free: 6.172 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.5289, allocations: 159.3 kB / 1.474 GB, free: 6.016 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.5291, allocations: 107.7 kB / 1.474 GB, free: 5.91 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.5292, allocations: 29.27 kB / 1.474 GB, free: 5.875 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.5305, allocations: 175.9 kB / 1.474 GB, free: 5.727 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 6.941e-05/0.5306, allocations: 39.78 kB / 1.474 GB, free: 5.688 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.5306, allocations: 8 kB / 1.474 GB, free: 5.68 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000433/0.5311, allocations: 191.6 kB / 1.474 GB, free: 5.492 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 4.782e-05/0.5311, allocations: 23.92 kB / 1.474 GB, free: 5.469 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 6.584e-05/0.5312, allocations: 51.72 kB / 1.474 GB, free: 5.418 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.5316, allocations: 187.4 kB / 1.475 GB, free: 5.234 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5316, allocations: 0 / 1.475 GB, free: 5.234 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5316, allocations: 0 / 1.475 GB, free: 5.234 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.5316, allocations: 0 / 1.475 GB, free: 5.234 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.0007024/0.5323, allocations: 450.6 kB / 1.475 GB, free: 4.746 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.5323, allocations: 15.97 kB / 1.475 GB, free: 4.73 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/0.5324, allocations: 42.69 kB / 1.475 GB, free: 4.68 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.5334, allocations: 87.78 kB / 1.475 GB, free: 4.594 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.5337, allocations: 210.8 kB / 1.475 GB, free: 4.348 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.5337, allocations: 8 kB / 1.475 GB, free: 4.34 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.5337, allocations: 4 kB / 1.475 GB, free: 4.336 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.5342, allocations: 136 kB / 1.476 GB, free: 4.199 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.5342, allocations: 3.938 kB / 1.476 GB, free: 4.195 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.5343, allocations: 3.938 kB / 1.476 GB, free: 4.191 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.5343, allocations: 4 kB / 1.476 GB, free: 4.188 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005972/0.5349, allocations: 143.8 kB / 1.476 GB, free: 4.047 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008474/0.5357, allocations: 424.3 kB / 1.476 GB, free: 3.582 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007582/0.5365, allocations: 247.7 kB / 1.476 GB, free: 3.312 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.5367, allocations: 68.8 kB / 1.476 GB, free: 3.242 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.5368, allocations: 4 kB / 1.476 GB, free: 3.238 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.5368, allocations: 38.56 kB / 1.476 GB, free: 3.191 MB / 1.17 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.5368, allocations: 0 / 1.476 GB, free: 3.191 MB / 1.17 GB Notification: Performance of matching and sorting (n=8): time 0.0008637/0.5377, allocations: 221.6 kB / 1.477 GB, free: 2.969 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.5377, allocations: 51.41 kB / 1.477 GB, free: 2.906 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.5378, allocations: 148.3 kB / 1.477 GB, free: 2.754 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.5379, allocations: 29.7 kB / 1.477 GB, free: 2.719 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.538, allocations: 104.1 kB / 1.477 GB, free: 2.613 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.538, allocations: 27.89 kB / 1.477 GB, free: 2.586 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/0.5381, allocations: 21.7 kB / 1.477 GB, free: 2.559 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.5382, allocations: 330.8 kB / 1.477 GB, free: 2.227 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.5385, allocations: 55.95 kB / 1.477 GB, free: 2.172 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.5387, allocations: 78.52 kB / 1.477 GB, free: 2.086 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004506/0.5392, allocations: 116.8 kB / 1.478 GB, free: 1.969 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5392, allocations: 0 / 1.478 GB, free: 1.969 MB / 1.17 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005402/0.5397, allocations: 165.5 kB / 1.478 GB, free: 1.801 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.5398, allocations: 7.984 kB / 1.478 GB, free: 1.793 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5398, allocations: 4 kB / 1.478 GB, free: 1.789 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.5398, allocations: 0 / 1.478 GB, free: 1.789 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.54, allocations: 23.97 kB / 1.478 GB, free: 1.766 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.54, allocations: 4 kB / 1.478 GB, free: 1.762 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.5402, allocations: 15.98 kB / 1.478 GB, free: 1.746 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.5402, allocations: 11.92 kB / 1.478 GB, free: 1.734 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.0001235/0.5403, allocations: 117.8 kB / 1.478 GB, free: 1.609 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.5404, allocations: 11.91 kB / 1.478 GB, free: 1.598 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.803e-05/0.5404, allocations: 16.66 kB / 1.478 GB, free: 1.578 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.5404, allocations: 0 / 1.478 GB, free: 1.578 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.5404, allocations: 4 kB / 1.478 GB, free: 1.574 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.5404, allocations: 3.984 kB / 1.478 GB, free: 1.57 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009319/0.5414, allocations: 458.3 kB / 1.478 GB, free: 1.066 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5414, allocations: 3.938 kB / 1.478 GB, free: 1.062 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.5416, allocations: 35.95 kB / 1.478 GB, free: 1.027 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.5416, allocations: 3.938 kB / 1.478 GB, free: 1.023 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.5416, allocations: 0 / 1.478 GB, free: 1.023 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.034e-06/0.5416, allocations: 11.88 kB / 1.478 GB, free: 1.012 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5416, allocations: 0 / 1.478 GB, free: 1.012 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005852/0.5422, allocations: 259.3 kB / 1.479 GB, free: 0.7422 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.5422, allocations: 81.06 kB / 1.479 GB, free: 0.6445 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.5422, allocations: 7.984 kB / 1.479 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.5424, allocations: 23.91 kB / 1.479 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.5425, allocations: 4 kB / 1.479 GB, free: 0.6094 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.5425, allocations: 7.984 kB / 1.479 GB, free: 0.6016 MB / 1.17 GB Notification: Performance of sorting global known variables: time 8.863e-05/0.5426, allocations: 112.9 kB / 1.479 GB, free: 0.4922 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.5426, allocations: 0 / 1.479 GB, free: 0.4922 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000281/0.5429, allocations: 27.94 kB / 1.479 GB, free: 476 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.0009974/0.5439, allocations: 0.8064 MB / 1.48 GB, free: 15.63 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005486/0.5444, allocations: 128 kB / 1.48 GB, free: 15.51 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5444, allocations: 0 / 1.48 GB, free: 15.51 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002477/0.5447, allocations: 68.02 kB / 1.48 GB, free: 15.44 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.545, allocations: 43.34 kB / 1.48 GB, free: 15.4 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.5479, allocations: 1.735 MB / 1.482 GB, free: 13.59 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.5482, allocations: 0.6963 MB / 1.482 GB, free: 12.87 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001282/0.5484, allocations: 28.41 kB / 1.482 GB, free: 12.84 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.327e-05/0.5484, allocations: 31.42 kB / 1.482 GB, free: 12.81 MB / 1.186 GB Notification: Performance of SimCode: time 5.41e-07/0.5484, allocations: 0 / 1.482 GB, free: 12.81 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.5751, allocations: 3.369 MB / 1.486 GB, free: 9.566 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.602, allocations: 13.02 kB / 1.486 GB, free: 9.559 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.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: 15.506132337031886]