Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001348/0.001348, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001796/0.001796, allocations: 217 kB / 22.25 MB, free: 5.082 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.585/1.585, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.901/2.901, allocations: 476.8 MB / 0.7707 GB, free: 4.215 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_11_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.002043/0.002043, allocations: 68.94 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3573, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.0031/0.3604, allocations: 1.523 MB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1695/0.5299, allocations: 135.3 MB / 1.417 GB, free: 2.391 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.561e-05/0.53, allocations: 0 / 1.417 GB, free: 2.391 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 4.272e-05/0.5301, allocations: 3.938 kB / 1.417 GB, free: 2.387 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 7.593e-05/0.5301, allocations: 11.88 kB / 1.417 GB, free: 2.375 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/0.5306, allocations: 72.39 kB / 1.417 GB, free: 2.305 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.5307, allocations: 47.8 kB / 1.417 GB, free: 2.258 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.5308, allocations: 19.92 kB / 1.417 GB, free: 2.238 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 6.277e-05/0.5309, allocations: 23.92 kB / 1.417 GB, free: 2.215 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 5.986e-05/0.5309, allocations: 19.92 kB / 1.417 GB, free: 2.195 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.5309, allocations: 12 kB / 1.417 GB, free: 2.184 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.5311, allocations: 19.92 kB / 1.417 GB, free: 2.164 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.5311, allocations: 11.94 kB / 1.417 GB, free: 2.152 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.5311, allocations: 27.84 kB / 1.417 GB, free: 2.125 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.5313, allocations: 55.81 kB / 1.417 GB, free: 2.07 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.5313, allocations: 0 / 1.417 GB, free: 2.07 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5313, allocations: 0 / 1.417 GB, free: 2.07 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.5313, allocations: 0 / 1.417 GB, free: 2.07 MB / 1.107 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.0005757/0.5319, allocations: 302.1 kB / 1.418 GB, free: 1.742 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.5319, allocations: 8.031 kB / 1.418 GB, free: 1.734 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.737e-05/0.532, allocations: 46.67 kB / 1.418 GB, free: 1.68 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.532, allocations: 4.891 kB / 1.418 GB, free: 1.676 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.5321, allocations: 110.5 kB / 1.418 GB, free: 1.543 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.5321, allocations: 4.375 kB / 1.418 GB, free: 1.539 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.5321, allocations: 384 / 1.418 GB, free: 1.539 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.5324, allocations: 82.12 kB / 1.418 GB, free: 1.453 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.5324, allocations: 7.938 kB / 1.418 GB, free: 1.445 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.5324, allocations: 3.984 kB / 1.418 GB, free: 1.441 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.5324, allocations: 4 kB / 1.418 GB, free: 1.438 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002756/0.5327, allocations: 71.86 kB / 1.418 GB, free: 1.367 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.5331, allocations: 247.9 kB / 1.418 GB, free: 1.082 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.5333, allocations: 58.53 kB / 1.418 GB, free: 1.016 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.5334, allocations: 36.92 kB / 1.418 GB, free: 0.9766 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.5335, allocations: 11.98 kB / 1.418 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.5336, allocations: 38.5 kB / 1.418 GB, free: 0.918 MB / 1.107 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.5336, allocations: 0 / 1.418 GB, free: 0.918 MB / 1.107 GB Notification: Performance of matching and sorting (n=3): time 0.0005307/0.5341, allocations: 137.5 kB / 1.418 GB, free: 0.7773 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.5341, allocations: 51.41 kB / 1.418 GB, free: 0.7148 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.5342, allocations: 113.8 kB / 1.419 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.5343, allocations: 29.7 kB / 1.419 GB, free: 0.5586 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/0.5343, allocations: 96.06 kB / 1.419 GB, free: 472 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.5343, allocations: 11.91 kB / 1.419 GB, free: 460 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.5344, allocations: 13.72 kB / 1.419 GB, free: 440 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5345, allocations: 322.8 kB / 1.419 GB, free: 108 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.5347, allocations: 31.97 kB / 1.419 GB, free: 76 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.5348, allocations: 35.95 kB / 1.419 GB, free: 40 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.5351, allocations: 68.73 kB / 1.419 GB, free: 15.97 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5351, allocations: 0 / 1.419 GB, free: 15.97 MB / 1.123 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003292/0.5354, allocations: 101.6 kB / 1.419 GB, free: 15.86 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.5354, allocations: 10.5 kB / 1.419 GB, free: 15.86 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.5354, allocations: 0 / 1.419 GB, free: 15.86 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.5354, allocations: 0 / 1.419 GB, free: 15.86 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.5356, allocations: 11.98 kB / 1.419 GB, free: 15.84 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.5356, allocations: 4 kB / 1.419 GB, free: 15.84 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.036e-05/0.5356, allocations: 11.94 kB / 1.419 GB, free: 15.83 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.5357, allocations: 4 kB / 1.419 GB, free: 15.82 MB / 1.123 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.839e-05/0.5358, allocations: 121.7 kB / 1.419 GB, free: 15.7 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.5358, allocations: 7.984 kB / 1.419 GB, free: 15.69 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003586/0.5361, allocations: 109.5 kB / 1.419 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5361, allocations: 0 / 1.419 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5361, allocations: 0 / 1.419 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.5362, allocations: 0 / 1.419 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.5363, allocations: 144.7 kB / 1.42 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.5363, allocations: 7.984 kB / 1.42 GB, free: 15.38 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.232e-05/0.5364, allocations: 11.98 kB / 1.42 GB, free: 15.37 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.5364, allocations: 384 / 1.42 GB, free: 15.37 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.5364, allocations: 0 / 1.42 GB, free: 15.37 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.5364, allocations: 8 kB / 1.42 GB, free: 15.36 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5364, allocations: 0 / 1.42 GB, free: 15.36 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.5368, allocations: 211.3 kB / 1.42 GB, free: 15.14 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.5368, allocations: 7.953 kB / 1.42 GB, free: 15.13 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.5368, allocations: 0 / 1.42 GB, free: 15.13 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.537, allocations: 7.984 kB / 1.42 GB, free: 15.12 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.537, allocations: 7.984 kB / 1.42 GB, free: 15.11 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.537, allocations: 0 / 1.42 GB, free: 15.11 MB / 1.123 GB Notification: Performance of sorting global known variables: time 6.373e-05/0.5371, allocations: 99.7 kB / 1.42 GB, free: 15.02 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/0.5371, allocations: 4 kB / 1.42 GB, free: 15.01 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002374/0.5373, allocations: 15.94 kB / 1.42 GB, free: 15 MB / 1.123 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.0007191/0.538, allocations: 0.7424 MB / 1.421 GB, free: 14.23 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0003283/0.5383, allocations: 67.92 kB / 1.421 GB, free: 14.16 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5384, allocations: 0 / 1.421 GB, free: 14.16 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.5385, allocations: 35.95 kB / 1.421 GB, free: 14.13 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.5389, allocations: 17.88 kB / 1.421 GB, free: 14.11 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.5408, allocations: 1.427 MB / 1.422 GB, free: 12.61 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.5411, allocations: 0.6807 MB / 1.423 GB, free: 11.9 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 3.156e-05/0.5411, allocations: 3.938 kB / 1.423 GB, free: 11.89 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.5411, allocations: 15.44 kB / 1.423 GB, free: 11.88 MB / 1.123 GB Notification: Performance of SimCode: time 3.31e-07/0.5411, allocations: 0 / 1.423 GB, free: 11.88 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.5698, allocations: 2.187 MB / 1.425 GB, free: 9.836 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/11.1, allocations: 5.25 kB / 1.425 GB, free: 9.832 MB / 1.123 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.07755133399951]