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.001646/0.001646, allocations: 110.4 kB / 18.94 MB, free: 2.957 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.00151/0.00151, allocations: 215.8 kB / 22.25 MB, free: 5.133 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 8 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 3.121/3.121, allocations: 476.8 MB / 0.7707 GB, free: 4.34 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.002369/0.002369, allocations: 67.2 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3717, allocations: 170 MB / 1.283 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003125/0.3748, allocations: 1.523 MB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1726/0.5474, allocations: 135.3 MB / 1.417 GB, free: 2.504 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.119e-05/0.5475, allocations: 3.938 kB / 1.417 GB, free: 2.5 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 4.761e-05/0.5476, allocations: 7.875 kB / 1.417 GB, free: 2.492 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 7.499e-05/0.5476, allocations: 11.88 kB / 1.417 GB, free: 2.48 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.5481, allocations: 67.23 kB / 1.417 GB, free: 2.418 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.5482, allocations: 55.77 kB / 1.417 GB, free: 2.363 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.5483, allocations: 15.98 kB / 1.417 GB, free: 2.348 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 8.823e-05/0.5484, allocations: 23.94 kB / 1.417 GB, free: 2.324 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 6.254e-05/0.5485, allocations: 23.91 kB / 1.417 GB, free: 2.301 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.5485, allocations: 8 kB / 1.417 GB, free: 2.293 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.5486, allocations: 19.92 kB / 1.417 GB, free: 2.273 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.5487, allocations: 11.94 kB / 1.417 GB, free: 2.262 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.5487, allocations: 23.86 kB / 1.417 GB, free: 2.238 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.5489, allocations: 55.81 kB / 1.417 GB, free: 2.184 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5489, allocations: 0 / 1.417 GB, free: 2.184 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5489, allocations: 0 / 1.417 GB, free: 2.184 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.5489, allocations: 0 / 1.417 GB, free: 2.184 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.000625/0.5495, allocations: 306.1 kB / 1.418 GB, free: 1.852 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.5496, allocations: 8.031 kB / 1.418 GB, free: 1.844 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/0.5496, allocations: 34.75 kB / 1.418 GB, free: 1.801 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.5496, allocations: 8.891 kB / 1.418 GB, free: 1.793 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.5498, allocations: 126.4 kB / 1.418 GB, free: 1.645 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.5498, allocations: 4.375 kB / 1.418 GB, free: 1.641 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.5498, allocations: 384 / 1.418 GB, free: 1.641 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.5501, allocations: 74.22 kB / 1.418 GB, free: 1.562 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.5501, allocations: 7.922 kB / 1.418 GB, free: 1.555 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.5501, allocations: 0 / 1.418 GB, free: 1.555 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.5501, allocations: 4 kB / 1.418 GB, free: 1.551 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.5504, allocations: 67.92 kB / 1.418 GB, free: 1.484 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.5509, allocations: 263.8 kB / 1.418 GB, free: 1.184 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.5511, allocations: 54.53 kB / 1.418 GB, free: 1.121 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.5513, allocations: 36.92 kB / 1.418 GB, free: 1.082 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.5514, allocations: 11.98 kB / 1.418 GB, free: 1.07 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.5515, allocations: 34.56 kB / 1.418 GB, free: 1.027 MB / 1.107 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5515, allocations: 0 / 1.418 GB, free: 1.027 MB / 1.107 GB Notification: Performance of matching and sorting (n=3): time 0.0005682/0.552, allocations: 137.5 kB / 1.418 GB, free: 0.8867 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.5521, allocations: 55.41 kB / 1.418 GB, free: 0.8203 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.5522, allocations: 113.8 kB / 1.419 GB, free: 0.6992 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.5523, allocations: 25.7 kB / 1.419 GB, free: 0.668 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.5523, allocations: 96.06 kB / 1.419 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.5523, allocations: 11.91 kB / 1.419 GB, free: 0.5586 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.5524, allocations: 13.72 kB / 1.419 GB, free: 0.5391 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.5525, allocations: 318.8 kB / 1.419 GB, free: 224 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.5527, allocations: 39.95 kB / 1.419 GB, free: 184 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.5528, allocations: 27.97 kB / 1.419 GB, free: 156 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.5531, allocations: 68.78 kB / 1.419 GB, free: 84 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5531, allocations: 0 / 1.419 GB, free: 84 kB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003439/0.5534, allocations: 101.6 kB / 1.419 GB, free: 15.98 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.5534, allocations: 8 kB / 1.419 GB, free: 15.97 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5535, allocations: 0 / 1.419 GB, free: 15.97 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.5535, allocations: 0 / 1.419 GB, free: 15.97 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.5536, allocations: 15.97 kB / 1.419 GB, free: 15.95 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.5536, allocations: 4 kB / 1.419 GB, free: 15.95 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.732e-05/0.5537, allocations: 11.94 kB / 1.419 GB, free: 15.94 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.5537, allocations: 11.94 kB / 1.419 GB, free: 15.93 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 8.616e-05/0.5538, allocations: 113.8 kB / 1.419 GB, free: 15.8 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.5538, allocations: 4 kB / 1.419 GB, free: 15.8 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003598/0.5542, allocations: 109.5 kB / 1.419 GB, free: 15.68 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.5542, allocations: 3.984 kB / 1.419 GB, free: 15.68 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5542, allocations: 4 kB / 1.419 GB, free: 15.68 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5542, allocations: 0 / 1.419 GB, free: 15.68 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.5544, allocations: 144.6 kB / 1.42 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5544, allocations: 4.375 kB / 1.42 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.448e-05/0.5545, allocations: 15.97 kB / 1.42 GB, free: 15.47 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5545, allocations: 0 / 1.42 GB, free: 15.47 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.5545, allocations: 0 / 1.42 GB, free: 15.47 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.5545, allocations: 4 kB / 1.42 GB, free: 15.47 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5545, allocations: 4 kB / 1.42 GB, free: 15.46 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003698/0.5549, allocations: 203.4 kB / 1.42 GB, free: 15.25 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.5549, allocations: 11.94 kB / 1.42 GB, free: 15.24 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.5549, allocations: 3.938 kB / 1.42 GB, free: 15.23 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.555, allocations: 7.984 kB / 1.42 GB, free: 15.23 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.555, allocations: 8 kB / 1.42 GB, free: 15.22 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.555, allocations: 4 kB / 1.42 GB, free: 15.21 MB / 1.123 GB Notification: Performance of sorting global known variables: time 5.858e-05/0.5551, allocations: 95.64 kB / 1.42 GB, free: 15.12 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5551, allocations: 4 kB / 1.42 GB, free: 15.12 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002398/0.5553, allocations: 12 kB / 1.42 GB, free: 15.11 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.00079/0.5561, allocations: 0.7357 MB / 1.421 GB, free: 14.34 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0003626/0.5565, allocations: 71.86 kB / 1.421 GB, free: 14.27 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5565, allocations: 3.938 kB / 1.421 GB, free: 14.27 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.5567, allocations: 39.95 kB / 1.421 GB, free: 14.23 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.557, allocations: 15.98 kB / 1.421 GB, free: 14.21 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.559, allocations: 1.428 MB / 1.422 GB, free: 12.71 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.5594, allocations: 0.6846 MB / 1.423 GB, free: 12 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 3.794e-05/0.5594, allocations: 0 / 1.423 GB, free: 12 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.5595, allocations: 15.44 kB / 1.423 GB, free: 11.98 MB / 1.123 GB Notification: Performance of SimCode: time 5.71e-07/0.5595, allocations: 4 kB / 1.423 GB, free: 11.98 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/0.5892, allocations: 2.181 MB / 1.425 GB, free: 9.938 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.73, allocations: 4.922 kB / 1.425 GB, free: 9.938 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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.79269600403495]