Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 105.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.66/2.66, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 67.91 kB / 1.056 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8099/0.8119, allocations: 160.7 MB / 1.213 GB, free: 3.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002909/0.8148, allocations: 1.504 MB / 1.214 GB, free: 2.691 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1596/0.9744, allocations: 132.5 MB / 1.344 GB, free: 1.793 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.069e-05/0.9744, allocations: 0 / 1.344 GB, free: 1.793 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.021e-05/0.9745, allocations: 3.938 kB / 1.344 GB, free: 1.789 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.794e-05/0.9746, allocations: 15.86 kB / 1.344 GB, free: 1.773 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.9749, allocations: 77.53 kB / 1.344 GB, free: 1.699 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.9751, allocations: 51.84 kB / 1.344 GB, free: 1.648 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.507e-05/0.9751, allocations: 8 kB / 1.344 GB, free: 1.641 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.901e-05/0.9752, allocations: 23.81 kB / 1.344 GB, free: 1.621 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.404e-05/0.9753, allocations: 23.84 kB / 1.344 GB, free: 1.598 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.9753, allocations: 4 kB / 1.344 GB, free: 1.594 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.861e-05/0.9754, allocations: 19.94 kB / 1.344 GB, free: 1.574 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.9754, allocations: 7.984 kB / 1.344 GB, free: 1.566 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.916e-05/0.9754, allocations: 27.86 kB / 1.344 GB, free: 1.539 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.9756, allocations: 63.69 kB / 1.344 GB, free: 1.477 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.9756, allocations: 4 kB / 1.344 GB, free: 1.473 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9756, allocations: 0 / 1.344 GB, free: 1.473 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.9756, allocations: 0 / 1.344 GB, free: 1.473 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005745/0.9762, allocations: 371.3 kB / 1.344 GB, free: 1.059 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.9762, allocations: 8.625 kB / 1.344 GB, free: 1.051 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.9763, allocations: 30.75 kB / 1.344 GB, free: 1.012 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.9763, allocations: 8.891 kB / 1.344 GB, free: 1.004 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.9764, allocations: 180.2 kB / 1.345 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.9764, allocations: 4.375 kB / 1.345 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.9765, allocations: 12.31 kB / 1.345 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.9767, allocations: 74.2 kB / 1.345 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.9767, allocations: 3.938 kB / 1.345 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.9767, allocations: 0 / 1.345 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.9767, allocations: 0 / 1.345 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.977, allocations: 71.92 kB / 1.345 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.9774, allocations: 284.7 kB / 1.345 GB, free: 300 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.9776, allocations: 58.52 kB / 1.345 GB, free: 232 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.9778, allocations: 40.92 kB / 1.345 GB, free: 188 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/0.978, allocations: 89.09 kB / 1.345 GB, free: 80 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.978, allocations: 30.56 kB / 1.345 GB, free: 40 kB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.978, allocations: 4 kB / 1.345 GB, free: 36 kB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005585/0.9786, allocations: 133.5 kB / 1.345 GB, free: 15.9 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.9786, allocations: 51.41 kB / 1.345 GB, free: 15.84 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.9787, allocations: 117.8 kB / 1.346 GB, free: 15.71 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.9787, allocations: 29.64 kB / 1.346 GB, free: 15.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.9788, allocations: 92.08 kB / 1.346 GB, free: 15.58 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.9788, allocations: 11.89 kB / 1.346 GB, free: 15.57 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.9788, allocations: 13.72 kB / 1.346 GB, free: 15.55 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.979, allocations: 326.8 kB / 1.346 GB, free: 15.22 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.9791, allocations: 27.97 kB / 1.346 GB, free: 15.2 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.9793, allocations: 31.97 kB / 1.346 GB, free: 15.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.9795, allocations: 68.78 kB / 1.346 GB, free: 15.09 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9795, allocations: 0 / 1.346 GB, free: 15.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000343/0.9799, allocations: 105.5 kB / 1.346 GB, free: 14.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.9799, allocations: 4 kB / 1.346 GB, free: 14.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.9799, allocations: 3.984 kB / 1.346 GB, free: 14.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.9799, allocations: 0 / 1.346 GB, free: 14.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.98, allocations: 23.98 kB / 1.346 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.98, allocations: 0 / 1.346 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.939e-05/0.9801, allocations: 11.98 kB / 1.346 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.9801, allocations: 0 / 1.346 GB, free: 14.94 MB / 1.061 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 (3): * Single equations (assignments): 3 * 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 8.182e-05/0.9802, allocations: 109.8 kB / 1.346 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.9802, allocations: 7.953 kB / 1.346 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.9806, allocations: 121.4 kB / 1.346 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.9806, allocations: 0 / 1.346 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.9806, allocations: 0 / 1.346 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.9806, allocations: 0 / 1.346 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.9808, allocations: 173.6 kB / 1.347 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.9808, allocations: 4 kB / 1.347 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-05/0.9809, allocations: 15.97 kB / 1.347 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.9809, allocations: 0 / 1.347 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.9809, allocations: 11.94 kB / 1.347 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.9809, allocations: 4 kB / 1.347 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.9809, allocations: 0 / 1.347 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.9813, allocations: 187.8 kB / 1.347 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.9813, allocations: 89.05 kB / 1.347 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.9813, allocations: 0 / 1.347 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.9814, allocations: 23.92 kB / 1.347 GB, free: 14.1 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.9815, allocations: 4.031 kB / 1.347 GB, free: 14.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.9815, allocations: 3.984 kB / 1.347 GB, free: 14.09 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.198e-05/0.9816, allocations: 95.22 kB / 1.347 GB, free: 14 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9816, allocations: 0 / 1.347 GB, free: 14 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000247/0.9818, allocations: 15.94 kB / 1.347 GB, free: 13.98 MB / 1.061 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 (3): * Single equations (assignments): 3 * 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.0007292/0.9825, allocations: 0.7397 MB / 1.348 GB, free: 13.22 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003378/0.9829, allocations: 75.86 kB / 1.348 GB, free: 13.14 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9829, allocations: 0 / 1.348 GB, free: 13.14 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.983, allocations: 39.95 kB / 1.348 GB, free: 13.11 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.9833, allocations: 5.891 kB / 1.348 GB, free: 13.1 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.9854, allocations: 1.427 MB / 1.349 GB, free: 11.6 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.9857, allocations: 0.6846 MB / 1.35 GB, free: 10.89 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.873e-05/0.9858, allocations: 4 kB / 1.35 GB, free: 10.88 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.9858, allocations: 20.2 kB / 1.35 GB, free: 10.86 MB / 1.061 GB Notification: Performance of SimCode: time 7.12e-07/0.9858, allocations: 0 / 1.35 GB, free: 10.86 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/1.011, allocations: 2.083 MB / 1.352 GB, free: 8.887 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.071/9.082, allocations: 12.66 kB / 1.352 GB, free: 8.879 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.076490646228194]