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.001546/0.001546, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002244/0.002244, allocations: 218 kB / 22.25 MB, free: 5.121 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.576/1.576, allocations: 230.6 MB / 256 MB, free: 7.953 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.353/3.353, allocations: 0.505 GB / 0.8101 GB, free: 22 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.002045/0.002045, allocations: 68.19 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3989, allocations: 180.2 MB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002932/0.4018, allocations: 1.529 MB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1835/0.5853, allocations: 135.3 MB / 1.486 GB, free: 15.11 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.24e-05/0.5854, allocations: 4 kB / 1.486 GB, free: 15.11 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 4.321e-05/0.5854, allocations: 3.938 kB / 1.486 GB, free: 15.1 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 6.58e-05/0.5855, allocations: 15.86 kB / 1.486 GB, free: 15.09 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.5859, allocations: 75.64 kB / 1.487 GB, free: 15.01 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.586, allocations: 51.8 kB / 1.487 GB, free: 14.96 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.5861, allocations: 11.98 kB / 1.487 GB, free: 14.95 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 6.017e-05/0.5862, allocations: 19.92 kB / 1.487 GB, free: 14.93 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 5.937e-05/0.5863, allocations: 23.92 kB / 1.487 GB, free: 14.91 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.5863, allocations: 4 kB / 1.487 GB, free: 14.9 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.5864, allocations: 27.92 kB / 1.487 GB, free: 14.88 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.5864, allocations: 15.92 kB / 1.487 GB, free: 14.86 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 4.297e-05/0.5865, allocations: 31.91 kB / 1.487 GB, free: 14.83 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.5866, allocations: 55.7 kB / 1.487 GB, free: 14.77 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.5866, allocations: 4 kB / 1.487 GB, free: 14.77 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5866, allocations: 0 / 1.487 GB, free: 14.77 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.5866, allocations: 3.984 kB / 1.487 GB, free: 14.77 MB / 1.186 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.0005632/0.5872, allocations: 296.2 kB / 1.487 GB, free: 14.45 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5872, allocations: 8.031 kB / 1.487 GB, free: 14.44 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/0.5873, allocations: 38.75 kB / 1.487 GB, free: 14.39 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.5874, allocations: 20.81 kB / 1.487 GB, free: 14.37 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.5876, allocations: 110.5 kB / 1.487 GB, free: 14.24 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.5876, allocations: 4.375 kB / 1.487 GB, free: 14.23 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.5876, allocations: 384 / 1.487 GB, free: 14.23 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.5879, allocations: 82.19 kB / 1.487 GB, free: 14.15 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.5879, allocations: 7.875 kB / 1.487 GB, free: 14.14 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.5879, allocations: 0 / 1.487 GB, free: 14.14 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.5879, allocations: 4 kB / 1.487 GB, free: 14.14 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.5882, allocations: 67.92 kB / 1.487 GB, free: 14.07 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.5886, allocations: 267.7 kB / 1.488 GB, free: 13.77 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.5889, allocations: 62.47 kB / 1.488 GB, free: 13.7 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.589, allocations: 36.92 kB / 1.488 GB, free: 13.66 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.589, allocations: 0 / 1.488 GB, free: 13.66 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.5891, allocations: 30.56 kB / 1.488 GB, free: 13.62 MB / 1.186 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.5891, allocations: 0 / 1.488 GB, free: 13.62 MB / 1.186 GB Notification: Performance of matching and sorting (n=3): time 0.0005175/0.5896, allocations: 129.6 kB / 1.488 GB, free: 13.48 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.5896, allocations: 55.41 kB / 1.488 GB, free: 13.42 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.5897, allocations: 113.8 kB / 1.488 GB, free: 13.3 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.5897, allocations: 25.7 kB / 1.488 GB, free: 13.27 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.5898, allocations: 96.08 kB / 1.488 GB, free: 13.17 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.5898, allocations: 7.953 kB / 1.488 GB, free: 13.16 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.5899, allocations: 21.66 kB / 1.488 GB, free: 13.13 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.59, allocations: 318.8 kB / 1.488 GB, free: 12.81 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.5901, allocations: 35.95 kB / 1.489 GB, free: 12.78 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.5903, allocations: 27.97 kB / 1.489 GB, free: 12.75 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.5905, allocations: 73.06 kB / 1.489 GB, free: 12.68 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5905, allocations: 0 / 1.489 GB, free: 12.68 MB / 1.186 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003016/0.5908, allocations: 101.6 kB / 1.489 GB, free: 12.57 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.5908, allocations: 4 kB / 1.489 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.5908, allocations: 4 kB / 1.489 GB, free: 12.56 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.5909, allocations: 4 kB / 1.489 GB, free: 12.56 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.591, allocations: 19.91 kB / 1.489 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.591, allocations: 0 / 1.489 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.396e-05/0.5911, allocations: 11.98 kB / 1.489 GB, free: 12.53 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.5911, allocations: 4 kB / 1.489 GB, free: 12.52 MB / 1.186 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.265e-05/0.5912, allocations: 117.7 kB / 1.489 GB, free: 12.4 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.5912, allocations: 4 kB / 1.489 GB, free: 12.39 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.675e-05/0.5912, allocations: 15.98 kB / 1.489 GB, free: 12.38 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.5912, allocations: 3.938 kB / 1.489 GB, free: 12.37 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5912, allocations: 0 / 1.489 GB, free: 12.37 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5912, allocations: 0 / 1.489 GB, free: 12.37 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.5914, allocations: 152.6 kB / 1.489 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5914, allocations: 0 / 1.489 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.609e-05/0.5915, allocations: 15.97 kB / 1.489 GB, free: 12.16 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.5915, allocations: 4 kB / 1.489 GB, free: 12.16 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.5915, allocations: 4 kB / 1.489 GB, free: 12.16 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5915, allocations: 0 / 1.489 GB, free: 12.16 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5915, allocations: 4 kB / 1.489 GB, free: 12.15 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.5919, allocations: 199.4 kB / 1.489 GB, free: 11.94 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/0.5919, allocations: 15.88 kB / 1.489 GB, free: 11.93 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.5919, allocations: 0 / 1.489 GB, free: 11.93 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.5921, allocations: 19.98 kB / 1.489 GB, free: 11.91 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.5921, allocations: 0 / 1.489 GB, free: 11.91 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.5921, allocations: 0 / 1.489 GB, free: 11.91 MB / 1.186 GB Notification: Performance of sorting global known variables: time 6.121e-05/0.5922, allocations: 99.64 kB / 1.489 GB, free: 11.81 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.5922, allocations: 0 / 1.489 GB, free: 11.81 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002305/0.5924, allocations: 8 kB / 1.489 GB, free: 11.8 MB / 1.186 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.0006599/0.5931, allocations: 0.728 MB / 1.49 GB, free: 11.05 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0003255/0.5934, allocations: 71.86 kB / 1.49 GB, free: 10.98 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5934, allocations: 4 kB / 1.49 GB, free: 10.97 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.5935, allocations: 35.95 kB / 1.49 GB, free: 10.94 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.5939, allocations: 4 kB / 1.49 GB, free: 10.93 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.5958, allocations: 1.431 MB / 1.492 GB, free: 9.426 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.5961, allocations: 0.6807 MB / 1.492 GB, free: 8.719 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 4.431e-05/0.5961, allocations: 8.312 kB / 1.492 GB, free: 8.711 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.5962, allocations: 15.44 kB / 1.492 GB, free: 8.695 MB / 1.186 GB Notification: Performance of SimCode: time 3.21e-07/0.5962, allocations: 0 / 1.492 GB, free: 8.695 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.6259, allocations: 2.093 MB / 1.494 GB, free: 6.742 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/11.23, allocations: 4.328 kB / 1.494 GB, free: 6.742 MB / 1.186 GB " [Timeout remaining time 289] (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: 18.569499586000347]