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.00135/0.00135, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00156/0.00156, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.996 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.427/3.427, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.002083/0.002083, allocations: 66.25 kB / 1.186 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.4366, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00363/0.4402, allocations: 1.505 MB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1753/0.6155, allocations: 115.8 MB / 1.478 GB, free: 8.371 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.131e-05/0.6156, allocations: 0 / 1.478 GB, free: 8.371 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 4.737e-05/0.6156, allocations: 7.938 kB / 1.478 GB, free: 8.363 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 7.054e-05/0.6157, allocations: 11.86 kB / 1.478 GB, free: 8.352 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004739/0.6162, allocations: 79.59 kB / 1.478 GB, free: 8.273 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.6163, allocations: 55.73 kB / 1.478 GB, free: 8.219 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.6164, allocations: 11.98 kB / 1.478 GB, free: 8.207 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 6.533e-05/0.6165, allocations: 19.92 kB / 1.478 GB, free: 8.188 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 6.276e-05/0.6165, allocations: 23.92 kB / 1.478 GB, free: 8.164 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.6166, allocations: 4 kB / 1.478 GB, free: 8.16 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.6167, allocations: 23.92 kB / 1.478 GB, free: 8.137 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.6167, allocations: 11.92 kB / 1.478 GB, free: 8.125 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.6167, allocations: 19.92 kB / 1.478 GB, free: 8.105 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.6169, allocations: 59.75 kB / 1.478 GB, free: 8.047 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6169, allocations: 0 / 1.478 GB, free: 8.047 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6169, allocations: 0 / 1.478 GB, free: 8.047 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.6169, allocations: 4 kB / 1.478 GB, free: 8.043 MB / 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.0005793/0.6175, allocations: 298.1 kB / 1.479 GB, free: 7.719 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.6175, allocations: 8.031 kB / 1.479 GB, free: 7.711 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.367e-05/0.6176, allocations: 46.73 kB / 1.479 GB, free: 7.656 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.6178, allocations: 4.938 kB / 1.479 GB, free: 7.652 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.6179, allocations: 122.4 kB / 1.479 GB, free: 7.508 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.6179, allocations: 4.375 kB / 1.479 GB, free: 7.504 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.6179, allocations: 4.359 kB / 1.479 GB, free: 7.5 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.6182, allocations: 74.22 kB / 1.479 GB, free: 7.422 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.6182, allocations: 3.938 kB / 1.479 GB, free: 7.418 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.6182, allocations: 4 kB / 1.479 GB, free: 7.414 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.6182, allocations: 4 kB / 1.479 GB, free: 7.41 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.6185, allocations: 63.92 kB / 1.479 GB, free: 7.348 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004833/0.619, allocations: 263.8 kB / 1.479 GB, free: 7.047 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.6192, allocations: 50.55 kB / 1.479 GB, free: 6.988 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.6193, allocations: 40.91 kB / 1.479 GB, free: 6.945 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.6193, allocations: 0 / 1.479 GB, free: 6.945 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.6194, allocations: 30.56 kB / 1.479 GB, free: 6.906 MB / 1.17 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.6194, allocations: 0 / 1.479 GB, free: 6.906 MB / 1.17 GB Notification: Performance of matching and sorting (n=3): time 0.0005404/0.6199, allocations: 141.5 kB / 1.479 GB, free: 6.762 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.62, allocations: 55.39 kB / 1.479 GB, free: 6.695 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.6201, allocations: 113.8 kB / 1.479 GB, free: 6.574 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.6201, allocations: 25.7 kB / 1.48 GB, free: 6.543 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.6202, allocations: 88.14 kB / 1.48 GB, free: 6.453 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.6202, allocations: 7.953 kB / 1.48 GB, free: 6.445 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.6203, allocations: 17.7 kB / 1.48 GB, free: 6.422 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.6204, allocations: 326.7 kB / 1.48 GB, free: 6.094 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.6205, allocations: 31.91 kB / 1.48 GB, free: 6.062 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.6207, allocations: 35.95 kB / 1.48 GB, free: 6.027 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.6209, allocations: 68.78 kB / 1.48 GB, free: 5.957 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6209, allocations: 4 kB / 1.48 GB, free: 5.953 MB / 1.17 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003352/0.6213, allocations: 105.5 kB / 1.48 GB, free: 5.844 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.6213, allocations: 6.5 kB / 1.48 GB, free: 5.84 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.6213, allocations: 0 / 1.48 GB, free: 5.84 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.6213, allocations: 0 / 1.48 GB, free: 5.84 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.6215, allocations: 19.98 kB / 1.48 GB, free: 5.82 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.6215, allocations: 0 / 1.48 GB, free: 5.82 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.31e-05/0.6215, allocations: 15.97 kB / 1.48 GB, free: 5.805 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.6216, allocations: 0 / 1.48 GB, free: 5.805 MB / 1.17 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 9.815e-05/0.6217, allocations: 113.8 kB / 1.48 GB, free: 5.684 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.6217, allocations: 7.953 kB / 1.48 GB, free: 5.676 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.456e-05/0.6217, allocations: 8 kB / 1.48 GB, free: 5.656 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.6217, allocations: 0 / 1.48 GB, free: 5.656 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6217, allocations: 0 / 1.48 GB, free: 5.656 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.6217, allocations: 0 / 1.48 GB, free: 5.656 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.6219, allocations: 149.1 kB / 1.48 GB, free: 5.469 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.6219, allocations: 4 kB / 1.48 GB, free: 5.465 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.476e-05/0.622, allocations: 11.98 kB / 1.481 GB, free: 5.453 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.622, allocations: 0 / 1.481 GB, free: 5.453 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.622, allocations: 0 / 1.481 GB, free: 5.453 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.622, allocations: 4 kB / 1.481 GB, free: 5.449 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.622, allocations: 7.938 kB / 1.481 GB, free: 5.441 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.6224, allocations: 207.4 kB / 1.481 GB, free: 5.223 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 1.662e-05/0.6224, allocations: 11.89 kB / 1.481 GB, free: 5.211 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.6224, allocations: 0 / 1.481 GB, free: 5.211 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.6226, allocations: 11.98 kB / 1.481 GB, free: 5.199 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.6226, allocations: 7.984 kB / 1.481 GB, free: 5.191 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.6226, allocations: 0 / 1.481 GB, free: 5.191 MB / 1.17 GB Notification: Performance of sorting global known variables: time 6.445e-05/0.6227, allocations: 95.7 kB / 1.481 GB, free: 5.098 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.6227, allocations: 0 / 1.481 GB, free: 5.098 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002111/0.6229, allocations: 11.94 kB / 1.481 GB, free: 5.086 MB / 1.17 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.0006723/0.6235, allocations: 0.7279 MB / 1.482 GB, free: 4.332 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003493/0.6239, allocations: 75.91 kB / 1.482 GB, free: 4.258 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6239, allocations: 0 / 1.482 GB, free: 4.258 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.624, allocations: 35.97 kB / 1.482 GB, free: 4.223 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.6244, allocations: 11.94 kB / 1.482 GB, free: 4.211 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.6263, allocations: 1.418 MB / 1.483 GB, free: 2.715 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.851e-05/0.6264, allocations: 67.34 kB / 1.483 GB, free: 2.629 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 4.352e-05/0.6265, allocations: 4 kB / 1.483 GB, free: 2.625 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.027e-05/0.6265, allocations: 19.42 kB / 1.483 GB, free: 2.605 MB / 1.17 GB Notification: Performance of SimCode: time 3.6e-07/0.6265, allocations: 0 / 1.483 GB, free: 2.605 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0328/0.6593, allocations: 2.594 MB / 1.486 GB, free: 164 kB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.94, allocations: 7.922 kB / 1.486 GB, free: 156 kB / 1.17 GB " [Timeout remaining time 288] (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: 19.221343365032226]