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.001181/0.001181, allocations: 109 kB / 17.54 MB, free: 4.746 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.001143/0.001143, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.312/1.312, allocations: 225.6 MB / 249.3 MB, free: 3.324 MB / 190.1 MB " [Timeout remaining time 179] 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.358/2.358, allocations: 443.5 MB / 0.7304 GB, free: 13.98 MB / 0.5762 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.001889/0.001889, allocations: 67.91 kB / 1.059 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2716, allocations: 160.7 MB / 1.216 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00254/0.2741, allocations: 1.505 MB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.6404/0.9145, allocations: 132.5 MB / 1.346 GB, free: 2.609 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.9146, allocations: 0 / 1.346 GB, free: 2.609 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.9146, allocations: 4.688 kB / 1.346 GB, free: 2.605 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.235e-05/0.9147, allocations: 11.66 kB / 1.346 GB, free: 2.598 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.915, allocations: 67.59 kB / 1.346 GB, free: 2.566 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.9151, allocations: 56.19 kB / 1.346 GB, free: 2.539 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.02e-05/0.9152, allocations: 11.16 kB / 1.346 GB, free: 2.535 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.191e-05/0.9152, allocations: 19.48 kB / 1.347 GB, free: 2.527 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.312e-05/0.9153, allocations: 36.11 kB / 1.347 GB, free: 2.504 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.9153, allocations: 4.531 kB / 1.347 GB, free: 2.504 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.021e-05/0.9154, allocations: 16.92 kB / 1.347 GB, free: 2.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.9154, allocations: 7.75 kB / 1.347 GB, free: 2.496 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.695e-05/0.9154, allocations: 24.33 kB / 1.347 GB, free: 2.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.9156, allocations: 57.61 kB / 1.347 GB, free: 2.457 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.9156, allocations: 0 / 1.347 GB, free: 2.457 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9156, allocations: 1.062 kB / 1.347 GB, free: 2.457 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.9156, allocations: 3.938 kB / 1.347 GB, free: 2.453 MB / 1.029 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.0005313/0.9161, allocations: 375.9 kB / 1.347 GB, free: 2.078 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.9162, allocations: 10.17 kB / 1.347 GB, free: 2.078 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.919e-05/0.9162, allocations: 36.61 kB / 1.347 GB, free: 2.035 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.9162, allocations: 9.266 kB / 1.347 GB, free: 2.031 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.9164, allocations: 176.3 kB / 1.347 GB, free: 1.824 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.9164, allocations: 1.688 kB / 1.347 GB, free: 1.824 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.9164, allocations: 2.875 kB / 1.347 GB, free: 1.824 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.9166, allocations: 75.83 kB / 1.347 GB, free: 1.781 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.9167, allocations: 3.938 kB / 1.347 GB, free: 1.777 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.9167, allocations: 9.047 kB / 1.347 GB, free: 1.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.9167, allocations: 1.812 kB / 1.347 GB, free: 1.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/0.917, allocations: 65.98 kB / 1.347 GB, free: 1.762 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.9173, allocations: 290.8 kB / 1.348 GB, free: 1.465 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.9175, allocations: 53.72 kB / 1.348 GB, free: 1.434 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.9177, allocations: 38.41 kB / 1.348 GB, free: 1.422 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/0.9178, allocations: 88.89 kB / 1.348 GB, free: 1.328 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.9179, allocations: 35.81 kB / 1.348 GB, free: 1.285 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.9179, allocations: 0 / 1.348 GB, free: 1.285 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005391/0.9184, allocations: 131.5 kB / 1.348 GB, free: 1.238 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.9185, allocations: 51.41 kB / 1.348 GB, free: 1.176 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.905e-05/0.9186, allocations: 122.3 kB / 1.348 GB, free: 1.066 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.9186, allocations: 25.7 kB / 1.348 GB, free: 1.035 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.9186, allocations: 95.88 kB / 1.348 GB, free: 0.9414 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.9186, allocations: 14.94 kB / 1.348 GB, free: 0.9297 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.9187, allocations: 12.48 kB / 1.348 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.9188, allocations: 322.1 kB / 1.349 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.9189, allocations: 35.16 kB / 1.349 GB, free: 0.5859 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.9191, allocations: 32.5 kB / 1.349 GB, free: 0.582 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.9193, allocations: 65.84 kB / 1.349 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.9193, allocations: 1.656 kB / 1.349 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003218/0.9197, allocations: 107 kB / 1.349 GB, free: 0.5156 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.9197, allocations: 11.05 kB / 1.349 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.9197, allocations: 4.812 kB / 1.349 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.9197, allocations: 0 / 1.349 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.9198, allocations: 17.94 kB / 1.349 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.9198, allocations: 0 / 1.349 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.761e-05/0.9199, allocations: 12.17 kB / 1.349 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.9199, allocations: 5.094 kB / 1.349 GB, free: 0.5039 MB / 1.029 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.267e-05/0.92, allocations: 119.6 kB / 1.349 GB, free: 392 kB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.92, allocations: 7.234 kB / 1.349 GB, free: 388 kB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003593/0.9204, allocations: 109.7 kB / 1.349 GB, free: 328 kB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.9204, allocations: 0 / 1.349 GB, free: 328 kB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.9204, allocations: 1.766 kB / 1.349 GB, free: 328 kB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.9204, allocations: 4 kB / 1.349 GB, free: 324 kB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.9206, allocations: 174 kB / 1.349 GB, free: 120 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.9206, allocations: 0 / 1.349 GB, free: 120 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.398e-05/0.9207, allocations: 15.94 kB / 1.349 GB, free: 120 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.9207, allocations: 0.75 kB / 1.349 GB, free: 120 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.9207, allocations: 1.188 kB / 1.349 GB, free: 120 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.9207, allocations: 0.5625 kB / 1.349 GB, free: 120 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9207, allocations: 1.562 kB / 1.349 GB, free: 120 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.9211, allocations: 206.8 kB / 1.35 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/0.9211, allocations: 83.75 kB / 1.35 GB, free: 15.86 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.9211, allocations: 2.625 kB / 1.35 GB, free: 15.86 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.9212, allocations: 11.41 kB / 1.35 GB, free: 15.86 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.9213, allocations: 4.109 kB / 1.35 GB, free: 15.86 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.9213, allocations: 9.719 kB / 1.35 GB, free: 15.86 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.608e-05/0.9213, allocations: 91.8 kB / 1.35 GB, free: 15.78 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.9213, allocations: 0 / 1.35 GB, free: 15.78 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002288/0.9216, allocations: 16.36 kB / 1.35 GB, free: 15.77 MB / 1.045 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.0006962/0.9223, allocations: 0.7398 MB / 1.35 GB, free: 15.1 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003401/0.9226, allocations: 70.45 kB / 1.351 GB, free: 15.09 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.9226, allocations: 1.094 kB / 1.351 GB, free: 15.09 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.9228, allocations: 41.52 kB / 1.351 GB, free: 15.07 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.9231, allocations: 12.06 kB / 1.351 GB, free: 15.07 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.9249, allocations: 1.431 MB / 1.352 GB, free: 13.83 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.9252, allocations: 0.6832 MB / 1.353 GB, free: 13.13 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.637e-05/0.9252, allocations: 3.516 kB / 1.353 GB, free: 13.13 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.9253, allocations: 14.34 kB / 1.353 GB, free: 13.12 MB / 1.045 GB Notification: Performance of SimCode: time 4.1e-07/0.9253, allocations: 1.094 kB / 1.353 GB, free: 13.12 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.9492, allocations: 2.066 MB / 1.355 GB, free: 12.72 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.006/7.955, allocations: 1.312 kB / 1.355 GB, free: 12.72 MB / 1.045 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 13.20101632099977]