Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.001328/0.001328, allocations: 103 kB / 16.45 MB, free: 6.508 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.001368/0.001368, allocations: 196.6 kB / 19.41 MB, free: 3.676 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.483/1.483, allocations: 225.6 MB / 247.8 MB, free: 13.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.19/3.19, allocations: 497.2 MB / 0.7811 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 73.45 kB / 1.134 GB, free: 33.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3434, allocations: 173.9 MB / 1.304 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002511/0.3459, allocations: 1.274 MB / 1.305 GB, free: 324 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1691/0.515, allocations: 132.4 MB / 1.435 GB, free: 11.39 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.001e-05/0.515, allocations: 0 / 1.435 GB, free: 11.39 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 2.388e-05/0.515, allocations: 0 / 1.435 GB, free: 11.39 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 5.517e-05/0.5151, allocations: 7.938 kB / 1.435 GB, free: 11.39 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.5156, allocations: 59.94 kB / 1.435 GB, free: 11.33 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.5157, allocations: 27.86 kB / 1.435 GB, free: 11.3 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.5157, allocations: 0 / 1.435 GB, free: 11.3 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 5.418e-05/0.5158, allocations: 15.92 kB / 1.435 GB, free: 11.29 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.062e-05/0.5158, allocations: 7.984 kB / 1.435 GB, free: 11.28 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.5159, allocations: 0 / 1.435 GB, free: 11.28 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 9.32e-05/0.5159, allocations: 12 kB / 1.435 GB, free: 11.27 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.516, allocations: 3.938 kB / 1.435 GB, free: 11.26 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.516, allocations: 11.98 kB / 1.435 GB, free: 11.25 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.5161, allocations: 19.92 kB / 1.435 GB, free: 11.23 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5161, allocations: 7.938 kB / 1.435 GB, free: 11.22 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5161, allocations: 0 / 1.435 GB, free: 11.22 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.5161, allocations: 0 / 1.435 GB, free: 11.22 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005178/0.5166, allocations: 335.4 kB / 1.435 GB, free: 10.84 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.5167, allocations: 12.62 kB / 1.435 GB, free: 10.83 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.595e-05/0.5167, allocations: 34.75 kB / 1.435 GB, free: 10.79 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.5168, allocations: 0.9375 kB / 1.435 GB, free: 10.79 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.5169, allocations: 176.3 kB / 1.435 GB, free: 10.58 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.423e-05/0.517, allocations: 30.27 kB / 1.435 GB, free: 10.54 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.517, allocations: 4.375 kB / 1.435 GB, free: 10.54 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.5172, allocations: 42 kB / 1.435 GB, free: 10.49 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.5172, allocations: 0 / 1.435 GB, free: 10.49 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.5172, allocations: 0 / 1.435 GB, free: 10.49 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5172, allocations: 0 / 1.435 GB, free: 10.49 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.554e-05/0.5173, allocations: 11.98 kB / 1.435 GB, free: 10.48 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.5175, allocations: 157.7 kB / 1.435 GB, free: 10.28 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.5176, allocations: 34.52 kB / 1.435 GB, free: 10.23 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.343e-05/0.5177, allocations: 12.94 kB / 1.435 GB, free: 10.22 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.5179, allocations: 93.09 kB / 1.436 GB, free: 10.11 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.5179, allocations: 38.5 kB / 1.436 GB, free: 10.06 MB / 1.139 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.5179, allocations: 0 / 1.436 GB, free: 10.06 MB / 1.139 GB Notification: Performance of matching and sorting (n=3): time 0.0002561/0.5182, allocations: 61.62 kB / 1.436 GB, free: 9.996 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.5182, allocations: 55.34 kB / 1.436 GB, free: 9.93 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.312e-05/0.5183, allocations: 98.03 kB / 1.436 GB, free: 9.824 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.5183, allocations: 33.64 kB / 1.436 GB, free: 9.785 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.5184, allocations: 84.14 kB / 1.436 GB, free: 9.699 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.5184, allocations: 3.953 kB / 1.436 GB, free: 9.695 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/0.5184, allocations: 21.7 kB / 1.436 GB, free: 9.668 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5186, allocations: 314.8 kB / 1.436 GB, free: 9.352 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.723e-05/0.5186, allocations: 8 kB / 1.436 GB, free: 9.344 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/0.5187, allocations: 7.984 kB / 1.436 GB, free: 9.336 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.456e-05/0.5188, allocations: 28.84 kB / 1.436 GB, free: 9.305 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5188, allocations: 0 / 1.436 GB, free: 9.305 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000134/0.5189, allocations: 45.69 kB / 1.436 GB, free: 9.254 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.5189, allocations: 11.94 kB / 1.436 GB, free: 9.242 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5189, allocations: 3.938 kB / 1.436 GB, free: 9.238 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.519, allocations: 4 kB / 1.436 GB, free: 9.234 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.519, allocations: 4 kB / 1.436 GB, free: 9.23 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.519, allocations: 0 / 1.436 GB, free: 9.23 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.945e-05/0.5191, allocations: 7.984 kB / 1.436 GB, free: 9.223 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.5191, allocations: 0 / 1.436 GB, free: 9.223 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 (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.0001199/0.5192, allocations: 113.8 kB / 1.436 GB, free: 9.102 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.5192, allocations: 15.83 kB / 1.437 GB, free: 9.086 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.5194, allocations: 53.17 kB / 1.437 GB, free: 9.02 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5194, allocations: 4 kB / 1.437 GB, free: 9.016 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5194, allocations: 0 / 1.437 GB, free: 9.016 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5194, allocations: 0 / 1.437 GB, free: 9.016 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.5196, allocations: 153.7 kB / 1.437 GB, free: 8.816 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5196, allocations: 0 / 1.437 GB, free: 8.816 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.63e-05/0.5196, allocations: 11.94 kB / 1.437 GB, free: 8.805 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.5196, allocations: 3.938 kB / 1.437 GB, free: 8.801 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.5197, allocations: 0 / 1.437 GB, free: 8.801 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5197, allocations: 0 / 1.437 GB, free: 8.801 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5197, allocations: 0 / 1.437 GB, free: 8.801 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.5198, allocations: 81.11 kB / 1.437 GB, free: 8.703 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.778e-05/0.5199, allocations: 81.05 kB / 1.437 GB, free: 8.605 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.5199, allocations: 0 / 1.437 GB, free: 8.605 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.119e-05/0.52, allocations: 7.984 kB / 1.437 GB, free: 8.598 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.52, allocations: 0 / 1.437 GB, free: 8.598 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-06/0.52, allocations: 0 / 1.437 GB, free: 8.598 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.274e-05/0.5201, allocations: 87.64 kB / 1.437 GB, free: 8.512 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5201, allocations: 0 / 1.437 GB, free: 8.512 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002073/0.5203, allocations: 15.94 kB / 1.437 GB, free: 8.496 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 (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.0006505/0.5209, allocations: 0.6281 MB / 1.438 GB, free: 7.836 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001511/0.5211, allocations: 23.97 kB / 1.438 GB, free: 7.812 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.5211, allocations: 8 kB / 1.438 GB, free: 7.805 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 5.132e-05/0.5211, allocations: 15.92 kB / 1.438 GB, free: 7.789 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.5214, allocations: 7.938 kB / 1.438 GB, free: 7.785 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004973/0.5219, allocations: 155.6 kB / 1.438 GB, free: 7.598 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.5222, allocations: 0.6768 MB / 1.438 GB, free: 6.895 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 4.101e-05/0.5223, allocations: 4 kB / 1.438 GB, free: 6.891 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.5223, allocations: 15.44 kB / 1.438 GB, free: 6.875 MB / 1.139 GB Notification: Performance of SimCode: time 4.61e-07/0.5223, allocations: 0 / 1.438 GB, free: 6.875 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.5484, allocations: 1.382 MB / 1.44 GB, free: 5.633 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/8.593, allocations: 17.61 kB / 1.44 GB, free: 5.621 MB / 1.139 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.350906182080507]