Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00171/0.00171, allocations: 103.7 kB / 18.94 MB, free: 2.824 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.002118/0.002118, allocations: 218.3 kB / 22.24 MB, free: 5.109 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.565/1.565, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.389/3.389, allocations: 0.49 GB / 0.7951 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_12_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.002087/0.002087, allocations: 69.67 kB / 1.154 GB, free: 25.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3846, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003155/0.3878, allocations: 1.501 MB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1606/0.5484, allocations: 115.8 MB / 1.44 GB, free: 11.76 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.415e-05/0.5485, allocations: 0 / 1.44 GB, free: 11.76 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 5.32e-05/0.5485, allocations: 3.938 kB / 1.44 GB, free: 11.76 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 9.056e-05/0.5486, allocations: 11.92 kB / 1.44 GB, free: 11.75 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.5492, allocations: 67.61 kB / 1.44 GB, free: 11.68 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.5494, allocations: 47.84 kB / 1.441 GB, free: 11.63 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.5496, allocations: 19.98 kB / 1.441 GB, free: 11.61 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.5497, allocations: 19.83 kB / 1.441 GB, free: 11.6 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 9.848e-05/0.5498, allocations: 31.83 kB / 1.441 GB, free: 11.57 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.5498, allocations: 4 kB / 1.441 GB, free: 11.56 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.55, allocations: 27.92 kB / 1.441 GB, free: 11.54 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 5.359e-05/0.5501, allocations: 8 kB / 1.441 GB, free: 11.53 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 6.584e-05/0.5502, allocations: 23.86 kB / 1.441 GB, free: 11.5 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.5505, allocations: 55.81 kB / 1.441 GB, free: 11.45 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.5505, allocations: 0 / 1.441 GB, free: 11.45 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.304e-06/0.5505, allocations: 0 / 1.441 GB, free: 11.45 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.5505, allocations: 0 / 1.441 GB, free: 11.45 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008435/0.5513, allocations: 294.1 kB / 1.441 GB, free: 11.13 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 7.177e-05/0.5514, allocations: 16.03 kB / 1.441 GB, free: 11.11 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.353e-05/0.5515, allocations: 34.75 kB / 1.441 GB, free: 11.07 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.5515, allocations: 16.81 kB / 1.441 GB, free: 11.05 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.5517, allocations: 118.4 kB / 1.441 GB, free: 10.91 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.5517, allocations: 384 / 1.441 GB, free: 10.91 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.5517, allocations: 8.312 kB / 1.441 GB, free: 10.91 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.5521, allocations: 70.22 kB / 1.441 GB, free: 10.83 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.5521, allocations: 7.938 kB / 1.441 GB, free: 10.82 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.5521, allocations: 7.984 kB / 1.441 GB, free: 10.82 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.5521, allocations: 0 / 1.441 GB, free: 10.82 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003225/0.5524, allocations: 67.88 kB / 1.441 GB, free: 10.75 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.553, allocations: 247.9 kB / 1.442 GB, free: 10.46 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.5532, allocations: 54.55 kB / 1.442 GB, free: 10.4 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.5534, allocations: 40.91 kB / 1.442 GB, free: 10.36 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.5536, allocations: 11.98 kB / 1.442 GB, free: 10.35 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/0.5536, allocations: 38.5 kB / 1.442 GB, free: 10.3 MB / 1.139 GB Notification: Performance of pre-optimization done (n=3): time 2.164e-06/0.5536, allocations: 0 / 1.442 GB, free: 10.3 MB / 1.139 GB Notification: Performance of matching and sorting (n=3): time 0.000632/0.5543, allocations: 129.5 kB / 1.442 GB, free: 10.17 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.5543, allocations: 51.41 kB / 1.442 GB, free: 10.11 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.5545, allocations: 125.8 kB / 1.442 GB, free: 9.973 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.5545, allocations: 25.7 kB / 1.442 GB, free: 9.941 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.5546, allocations: 92.14 kB / 1.442 GB, free: 9.848 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.5546, allocations: 7.906 kB / 1.442 GB, free: 9.84 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.5547, allocations: 13.72 kB / 1.442 GB, free: 9.82 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.5549, allocations: 322.8 kB / 1.442 GB, free: 9.496 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.555, allocations: 31.97 kB / 1.442 GB, free: 9.465 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.5552, allocations: 35.95 kB / 1.442 GB, free: 9.43 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.5554, allocations: 72.72 kB / 1.443 GB, free: 9.355 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5554, allocations: 0 / 1.443 GB, free: 9.355 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003385/0.5558, allocations: 97.62 kB / 1.443 GB, free: 9.254 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.5558, allocations: 4 kB / 1.443 GB, free: 9.25 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.5558, allocations: 4 kB / 1.443 GB, free: 9.246 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.5558, allocations: 0 / 1.443 GB, free: 9.246 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.556, allocations: 11.98 kB / 1.443 GB, free: 9.234 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.556, allocations: 0 / 1.443 GB, free: 9.234 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.914e-05/0.5561, allocations: 19.92 kB / 1.443 GB, free: 9.215 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.5561, allocations: 0 / 1.443 GB, free: 9.215 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.0001379/0.5562, allocations: 122.3 kB / 1.443 GB, free: 9.086 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.5562, allocations: 8.266 kB / 1.443 GB, free: 9.078 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004059/0.5567, allocations: 113.5 kB / 1.443 GB, free: 8.949 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.5567, allocations: 0 / 1.443 GB, free: 8.949 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5567, allocations: 0 / 1.443 GB, free: 8.949 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5567, allocations: 0 / 1.443 GB, free: 8.949 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.5569, allocations: 152.7 kB / 1.443 GB, free: 8.758 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5569, allocations: 8 kB / 1.443 GB, free: 8.75 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.005e-05/0.557, allocations: 11.98 kB / 1.443 GB, free: 8.738 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.557, allocations: 0 / 1.443 GB, free: 8.738 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.557, allocations: 0 / 1.443 GB, free: 8.738 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.557, allocations: 4 kB / 1.443 GB, free: 8.734 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.557, allocations: 0 / 1.443 GB, free: 8.734 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.5574, allocations: 199.3 kB / 1.443 GB, free: 8.523 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.179e-05/0.5574, allocations: 19.89 kB / 1.443 GB, free: 8.504 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.5574, allocations: 0 / 1.443 GB, free: 8.504 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.5575, allocations: 15.98 kB / 1.443 GB, free: 8.488 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.731e-05/0.5576, allocations: 3.984 kB / 1.443 GB, free: 8.484 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.5576, allocations: 0 / 1.443 GB, free: 8.484 MB / 1.139 GB Notification: Performance of sorting global known variables: time 7.458e-05/0.5577, allocations: 95.27 kB / 1.443 GB, free: 8.391 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.5577, allocations: 0 / 1.443 GB, free: 8.391 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002564/0.5579, allocations: 16 kB / 1.443 GB, free: 8.375 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.0009389/0.5589, allocations: 0.7396 MB / 1.444 GB, free: 7.609 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0003569/0.5592, allocations: 67.92 kB / 1.444 GB, free: 7.543 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5592, allocations: 0 / 1.444 GB, free: 7.543 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.5594, allocations: 39.95 kB / 1.444 GB, free: 7.504 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.5598, allocations: 4 kB / 1.444 GB, free: 7.5 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.5619, allocations: 1.428 MB / 1.446 GB, free: 5.992 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.117e-05/0.562, allocations: 73.53 kB / 1.446 GB, free: 5.902 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 3.715e-05/0.562, allocations: 3.906 kB / 1.446 GB, free: 5.898 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.5621, allocations: 15.44 kB / 1.446 GB, free: 5.883 MB / 1.139 GB Notification: Performance of SimCode: time 6.21e-07/0.5621, allocations: 4 kB / 1.446 GB, free: 5.879 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03168/0.5937, allocations: 2.735 MB / 1.448 GB, free: 3.297 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.77, allocations: 6.422 kB / 1.448 GB, free: 3.293 MB / 1.139 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.998263927991502]