Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.00129/0.00129, allocations: 110.3 kB / 16.46 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.001383/0.001383, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.482/1.482, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.302/3.302, allocations: 0.505 GB / 0.8066 GB, free: 23.13 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",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.00253/0.00253, allocations: 67.92 kB / 1.172 GB, free: 17.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.4014, allocations: 180.2 MB / 1.348 GB, free: 9.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003219/0.4046, allocations: 1.521 MB / 1.349 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.2086/0.6132, allocations: 135.3 MB / 1.481 GB, free: 0.6875 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.641e-05/0.6133, allocations: 4 kB / 1.481 GB, free: 0.6836 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 5.906e-05/0.6133, allocations: 7.922 kB / 1.481 GB, free: 0.6758 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 9.044e-05/0.6134, allocations: 15.86 kB / 1.481 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.000571/0.614, allocations: 71.94 kB / 1.481 GB, free: 0.5898 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.000168/0.6142, allocations: 55.61 kB / 1.481 GB, free: 0.5391 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.6143, allocations: 11.98 kB / 1.481 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 9.336e-05/0.6144, allocations: 23.92 kB / 1.481 GB, free: 0.5039 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 6.975e-05/0.6145, allocations: 23.91 kB / 1.482 GB, free: 492 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.6145, allocations: 4 kB / 1.482 GB, free: 488 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.6146, allocations: 31.92 kB / 1.482 GB, free: 456 kB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 2.976e-05/0.6147, allocations: 11.92 kB / 1.482 GB, free: 444 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 5.001e-05/0.6147, allocations: 19.94 kB / 1.482 GB, free: 424 kB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.6149, allocations: 67.73 kB / 1.482 GB, free: 356 kB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.615, allocations: 0 / 1.482 GB, free: 356 kB / 1.17 GB Notification: Performance of FrontEnd: time 2.244e-06/0.615, allocations: 0 / 1.482 GB, free: 356 kB / 1.17 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.615, allocations: 0 / 1.482 GB, free: 356 kB / 1.17 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.0007295/0.6157, allocations: 379.2 kB / 1.482 GB, free: 15.93 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.6157, allocations: 11.98 kB / 1.482 GB, free: 15.91 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.914e-05/0.6158, allocations: 30.75 kB / 1.482 GB, free: 15.88 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.616, allocations: 20.88 kB / 1.482 GB, free: 15.86 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.6162, allocations: 172.3 kB / 1.482 GB, free: 15.65 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.6162, allocations: 384 / 1.482 GB, free: 15.65 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.6162, allocations: 8.375 kB / 1.482 GB, free: 15.64 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.6165, allocations: 74.2 kB / 1.482 GB, free: 15.56 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.6165, allocations: 3.938 kB / 1.482 GB, free: 15.56 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.6165, allocations: 0 / 1.482 GB, free: 15.56 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.6165, allocations: 0 / 1.482 GB, free: 15.56 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003356/0.6169, allocations: 75.92 kB / 1.482 GB, free: 15.48 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006136/0.6175, allocations: 296.6 kB / 1.483 GB, free: 15.14 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.6177, allocations: 62.53 kB / 1.483 GB, free: 15.07 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.6179, allocations: 36.86 kB / 1.483 GB, free: 15.04 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.6179, allocations: 0 / 1.483 GB, free: 15.04 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.6179, allocations: 34.56 kB / 1.483 GB, free: 14.99 MB / 1.186 GB Notification: Performance of pre-optimization done (n=3): time 1.994e-06/0.6179, allocations: 0 / 1.483 GB, free: 14.99 MB / 1.186 GB Notification: Performance of matching and sorting (n=3): time 0.0006368/0.6186, allocations: 133.5 kB / 1.483 GB, free: 14.86 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.6186, allocations: 51.41 kB / 1.483 GB, free: 14.79 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.6188, allocations: 117.8 kB / 1.483 GB, free: 14.67 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.6188, allocations: 25.7 kB / 1.483 GB, free: 14.64 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.6189, allocations: 96.08 kB / 1.483 GB, free: 14.54 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.6189, allocations: 7.953 kB / 1.483 GB, free: 14.53 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.6189, allocations: 13.72 kB / 1.483 GB, free: 14.51 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.6191, allocations: 322.8 kB / 1.484 GB, free: 14.19 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.6193, allocations: 31.95 kB / 1.484 GB, free: 14.16 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.6195, allocations: 31.97 kB / 1.484 GB, free: 14.12 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.6198, allocations: 73.05 kB / 1.484 GB, free: 14.05 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.6198, allocations: 4 kB / 1.484 GB, free: 14.05 MB / 1.186 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003696/0.6202, allocations: 101.5 kB / 1.484 GB, free: 13.94 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.6202, allocations: 4 kB / 1.484 GB, free: 13.94 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.6202, allocations: 0 / 1.484 GB, free: 13.94 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.6202, allocations: 0 / 1.484 GB, free: 13.94 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.6204, allocations: 27.97 kB / 1.484 GB, free: 13.91 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.6204, allocations: 0 / 1.484 GB, free: 13.91 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.6205, allocations: 11.98 kB / 1.484 GB, free: 13.9 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.6205, allocations: 0 / 1.484 GB, free: 13.9 MB / 1.186 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 0.0001201/0.6206, allocations: 113.8 kB / 1.484 GB, free: 13.78 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.6207, allocations: 0 / 1.484 GB, free: 13.78 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.515e-05/0.6207, allocations: 11.91 kB / 1.484 GB, free: 13.75 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.6207, allocations: 7.984 kB / 1.484 GB, free: 13.75 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.6207, allocations: 0 / 1.484 GB, free: 13.75 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.6207, allocations: 0 / 1.484 GB, free: 13.75 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.621, allocations: 173.5 kB / 1.484 GB, free: 13.53 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.621, allocations: 3.938 kB / 1.484 GB, free: 13.52 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.6211, allocations: 27.91 kB / 1.484 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.6211, allocations: 0 / 1.484 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.6211, allocations: 4 kB / 1.484 GB, free: 13.49 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6211, allocations: 0 / 1.484 GB, free: 13.49 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6211, allocations: 0 / 1.484 GB, free: 13.49 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004385/0.6215, allocations: 195.4 kB / 1.484 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 8.44e-05/0.6216, allocations: 88.98 kB / 1.484 GB, free: 13.18 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.6216, allocations: 0 / 1.484 GB, free: 13.18 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.6218, allocations: 15.98 kB / 1.484 GB, free: 13.16 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.6218, allocations: 8 kB / 1.484 GB, free: 13.16 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.6218, allocations: 3.938 kB / 1.484 GB, free: 13.15 MB / 1.186 GB Notification: Performance of sorting global known variables: time 8.091e-05/0.6219, allocations: 95.64 kB / 1.485 GB, free: 13.06 MB / 1.186 GB Notification: Performance of sort global known variables: time 6e-08/0.6219, allocations: 0 / 1.485 GB, free: 13.06 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002324/0.6221, allocations: 12 kB / 1.485 GB, free: 13.05 MB / 1.186 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.0008355/0.623, allocations: 0.7319 MB / 1.485 GB, free: 12.29 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0003584/0.6233, allocations: 63.92 kB / 1.485 GB, free: 12.23 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6233, allocations: 0 / 1.485 GB, free: 12.23 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.6235, allocations: 47.89 kB / 1.485 GB, free: 12.18 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.6238, allocations: 8 kB / 1.485 GB, free: 12.17 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.626, allocations: 1.415 MB / 1.487 GB, free: 10.68 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.6263, allocations: 0.6807 MB / 1.487 GB, free: 9.973 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 5.839e-05/0.6264, allocations: 7.984 kB / 1.487 GB, free: 9.965 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.6265, allocations: 15.44 kB / 1.487 GB, free: 9.949 MB / 1.186 GB Notification: Performance of SimCode: time 8.31e-07/0.6265, allocations: 0 / 1.487 GB, free: 9.949 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02808/0.6545, allocations: 1.991 MB / 1.489 GB, free: 8.066 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.257/8.911, allocations: 1.719 kB / 1.489 GB, free: 8.066 MB / 1.186 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.804335211170837]