Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001348/0.001348, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00155/0.00155, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.621/1.621, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.894/2.894, allocations: 476.8 MB / 0.7707 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_11_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.002056/0.002056, allocations: 64.05 kB / 1.117 GB, free: 39.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3842, allocations: 170 MB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003488/0.3877, allocations: 1.673 MB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2008/0.5885, allocations: 154.9 MB / 1.436 GB, free: 14.43 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.5887, allocations: 4 kB / 1.436 GB, free: 14.42 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.5889, allocations: 19.73 kB / 1.436 GB, free: 14.4 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003261/0.5892, allocations: 47.7 kB / 1.436 GB, free: 14.36 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005088/0.5897, allocations: 151.4 kB / 1.436 GB, free: 14.21 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.5899, allocations: 119.6 kB / 1.437 GB, free: 14.09 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.5901, allocations: 25.58 kB / 1.437 GB, free: 14.06 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.5916, allocations: 186 kB / 1.437 GB, free: 13.91 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 9.516e-05/0.5917, allocations: 47.72 kB / 1.437 GB, free: 13.86 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.5918, allocations: 8 kB / 1.437 GB, free: 13.85 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004919/0.5923, allocations: 183.7 kB / 1.437 GB, free: 13.67 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 5.654e-05/0.5923, allocations: 23.92 kB / 1.437 GB, free: 13.65 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 7.348e-05/0.5924, allocations: 47.73 kB / 1.437 GB, free: 13.6 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004839/0.5929, allocations: 195.3 kB / 1.437 GB, free: 13.41 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5929, allocations: 0 / 1.437 GB, free: 13.41 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5929, allocations: 0 / 1.437 GB, free: 13.41 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.5929, allocations: 0 / 1.437 GB, free: 13.41 MB / 1.139 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.0007588/0.5936, allocations: 377.5 kB / 1.438 GB, free: 13.01 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.5937, allocations: 12.03 kB / 1.438 GB, free: 13 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.754e-05/0.5937, allocations: 34.75 kB / 1.438 GB, free: 12.96 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.5948, allocations: 95.73 kB / 1.438 GB, free: 12.86 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.5951, allocations: 150.4 kB / 1.438 GB, free: 12.69 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.5951, allocations: 4 kB / 1.438 GB, free: 12.69 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.5951, allocations: 8 kB / 1.438 GB, free: 12.68 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004787/0.5956, allocations: 137.5 kB / 1.438 GB, free: 12.54 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.5956, allocations: 0 / 1.438 GB, free: 12.54 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.5956, allocations: 3.938 kB / 1.438 GB, free: 12.54 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.5957, allocations: 8 kB / 1.438 GB, free: 12.53 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005314/0.5962, allocations: 131.9 kB / 1.438 GB, free: 12.4 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008697/0.5971, allocations: 395.4 kB / 1.439 GB, free: 11.97 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006811/0.5977, allocations: 174.5 kB / 1.439 GB, free: 11.79 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.598, allocations: 68.8 kB / 1.439 GB, free: 11.72 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.598, allocations: 4 kB / 1.439 GB, free: 11.71 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.598, allocations: 34.56 kB / 1.439 GB, free: 11.67 MB / 1.139 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.598, allocations: 0 / 1.439 GB, free: 11.67 MB / 1.139 GB Notification: Performance of matching and sorting (n=8): time 0.0007847/0.5988, allocations: 217.5 kB / 1.439 GB, free: 11.45 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.5989, allocations: 55.39 kB / 1.439 GB, free: 11.39 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.599, allocations: 141.5 kB / 1.439 GB, free: 11.24 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.599, allocations: 33.64 kB / 1.439 GB, free: 11.2 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 8.802e-05/0.5991, allocations: 108.1 kB / 1.439 GB, free: 11.09 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/0.5992, allocations: 19.94 kB / 1.439 GB, free: 11.07 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.468e-05/0.5992, allocations: 29.7 kB / 1.439 GB, free: 11.04 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5994, allocations: 326.8 kB / 1.44 GB, free: 10.71 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.5996, allocations: 55.94 kB / 1.44 GB, free: 10.65 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.5998, allocations: 78.52 kB / 1.44 GB, free: 10.57 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/0.6003, allocations: 113.2 kB / 1.44 GB, free: 10.45 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6003, allocations: 0 / 1.44 GB, free: 10.45 MB / 1.139 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005074/0.6008, allocations: 169.5 kB / 1.44 GB, free: 10.28 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.6008, allocations: 4 kB / 1.44 GB, free: 10.28 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.6008, allocations: 3.938 kB / 1.44 GB, free: 10.27 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.6008, allocations: 7.938 kB / 1.44 GB, free: 10.27 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.601, allocations: 27.97 kB / 1.44 GB, free: 10.24 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.6011, allocations: 4 kB / 1.44 GB, free: 10.23 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.6012, allocations: 23.91 kB / 1.44 GB, free: 10.21 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.6012, allocations: 3.938 kB / 1.44 GB, free: 10.21 MB / 1.139 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.0001065/0.6013, allocations: 117.8 kB / 1.44 GB, free: 10.08 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.6014, allocations: 11.91 kB / 1.44 GB, free: 10.07 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.6014, allocations: 20.7 kB / 1.44 GB, free: 10.05 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.6014, allocations: 0 / 1.44 GB, free: 10.05 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6014, allocations: 4 kB / 1.44 GB, free: 10.05 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.6014, allocations: 0 / 1.44 GB, free: 10.05 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008538/0.6023, allocations: 441.2 kB / 1.441 GB, free: 9.566 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6023, allocations: 4 kB / 1.441 GB, free: 9.562 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.6025, allocations: 31.97 kB / 1.441 GB, free: 9.531 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.6025, allocations: 0 / 1.441 GB, free: 9.531 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.6025, allocations: 0 / 1.441 GB, free: 9.531 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.6025, allocations: 7.938 kB / 1.441 GB, free: 9.523 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6025, allocations: 0 / 1.441 GB, free: 9.523 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005568/0.6031, allocations: 267.3 kB / 1.441 GB, free: 9.246 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.6031, allocations: 7.953 kB / 1.441 GB, free: 9.238 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.6031, allocations: 0 / 1.441 GB, free: 9.238 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.6033, allocations: 19.91 kB / 1.441 GB, free: 9.219 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.6033, allocations: 11.98 kB / 1.441 GB, free: 9.207 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.6033, allocations: 4 kB / 1.441 GB, free: 9.203 MB / 1.139 GB Notification: Performance of sorting global known variables: time 9.078e-05/0.6034, allocations: 115.2 kB / 1.441 GB, free: 9.09 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.6034, allocations: 0 / 1.441 GB, free: 9.09 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002771/0.6037, allocations: 27.94 kB / 1.441 GB, free: 9.062 MB / 1.139 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.0009461/0.6047, allocations: 0.8059 MB / 1.442 GB, free: 8.23 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0005055/0.6052, allocations: 119.9 kB / 1.442 GB, free: 8.113 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6052, allocations: 0 / 1.442 GB, free: 8.113 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.6054, allocations: 67.88 kB / 1.442 GB, free: 8.047 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.6058, allocations: 44.45 kB / 1.442 GB, free: 8.004 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/0.6086, allocations: 1.72 MB / 1.444 GB, free: 6.203 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.6089, allocations: 0.7002 MB / 1.445 GB, free: 5.477 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001302/0.6091, allocations: 28.41 kB / 1.445 GB, free: 5.449 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.447e-05/0.6091, allocations: 31.52 kB / 1.445 GB, free: 5.418 MB / 1.139 GB Notification: Performance of SimCode: time 4.81e-07/0.6091, allocations: 3.938 kB / 1.445 GB, free: 5.414 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.6397, allocations: 3.517 MB / 1.448 GB, free: 2.059 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.76, allocations: 8.625 kB / 1.448 GB, free: 2.051 MB / 1.139 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.10121045494452]