Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.001589/0.001589, allocations: 114.3 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.002118/0.002118, allocations: 215.2 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 8.031 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.341/3.341, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_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.002004/0.002004, allocations: 62.91 kB / 1.177 GB, free: 16.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4206, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002692/0.4233, allocations: 1.303 MB / 1.354 GB, free: 7.129 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1811/0.6044, allocations: 135.2 MB / 1.486 GB, free: 15.4 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.6044, allocations: 0 / 1.486 GB, free: 15.4 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 2.876e-05/0.6045, allocations: 3.938 kB / 1.486 GB, free: 15.4 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 5.547e-05/0.6045, allocations: 4 kB / 1.486 GB, free: 15.39 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.605, allocations: 71.88 kB / 1.486 GB, free: 15.32 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.6051, allocations: 19.92 kB / 1.486 GB, free: 15.3 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/0.6051, allocations: 4 kB / 1.486 GB, free: 15.3 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 5.57e-05/0.6052, allocations: 7.938 kB / 1.486 GB, free: 15.29 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 7.722e-05/0.6053, allocations: 15.91 kB / 1.486 GB, free: 15.28 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.6053, allocations: 4 kB / 1.486 GB, free: 15.27 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.6054, allocations: 23.98 kB / 1.486 GB, free: 15.25 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.6054, allocations: 0 / 1.486 GB, free: 15.25 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.6055, allocations: 11.94 kB / 1.486 GB, free: 15.24 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.6056, allocations: 27.91 kB / 1.486 GB, free: 15.21 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.6056, allocations: 0 / 1.486 GB, free: 15.21 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6056, allocations: 0 / 1.486 GB, free: 15.21 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.6056, allocations: 0 / 1.486 GB, free: 15.21 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004838/0.6061, allocations: 266.2 kB / 1.487 GB, free: 14.92 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.6061, allocations: 12.03 kB / 1.487 GB, free: 14.91 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.162e-05/0.6062, allocations: 34.75 kB / 1.487 GB, free: 14.86 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.6063, allocations: 12.92 kB / 1.487 GB, free: 14.85 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.6065, allocations: 114.5 kB / 1.487 GB, free: 14.71 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.173e-05/0.6066, allocations: 55.97 kB / 1.487 GB, free: 14.65 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.6066, allocations: 384 / 1.487 GB, free: 14.65 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.6067, allocations: 46 kB / 1.487 GB, free: 14.6 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.6067, allocations: 0 / 1.487 GB, free: 14.6 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.6067, allocations: 0 / 1.487 GB, free: 14.6 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.6067, allocations: 0 / 1.487 GB, free: 14.6 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.282e-05/0.6068, allocations: 15.92 kB / 1.487 GB, free: 14.58 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.607, allocations: 136.7 kB / 1.487 GB, free: 14.41 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.6071, allocations: 26.61 kB / 1.487 GB, free: 14.37 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.125e-05/0.6072, allocations: 12.86 kB / 1.487 GB, free: 14.36 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.6072, allocations: 0 / 1.487 GB, free: 14.36 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.6072, allocations: 38.5 kB / 1.487 GB, free: 14.31 MB / 1.186 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.6072, allocations: 0 / 1.487 GB, free: 14.31 MB / 1.186 GB Notification: Performance of matching and sorting (n=3): time 0.0002528/0.6075, allocations: 65.7 kB / 1.487 GB, free: 14.24 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.6075, allocations: 51.41 kB / 1.487 GB, free: 14.18 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.681e-05/0.6076, allocations: 93.86 kB / 1.487 GB, free: 14.07 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.6076, allocations: 29.69 kB / 1.487 GB, free: 14.04 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.6077, allocations: 84.12 kB / 1.487 GB, free: 13.95 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.6077, allocations: 11.95 kB / 1.487 GB, free: 13.94 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.6077, allocations: 17.67 kB / 1.487 GB, free: 13.92 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.6079, allocations: 310.8 kB / 1.488 GB, free: 13.61 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.875e-05/0.608, allocations: 15.98 kB / 1.488 GB, free: 13.59 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.334e-05/0.608, allocations: 4 kB / 1.488 GB, free: 13.59 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.509e-05/0.6081, allocations: 24.84 kB / 1.488 GB, free: 13.56 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6081, allocations: 0 / 1.488 GB, free: 13.56 MB / 1.186 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001199/0.6082, allocations: 50.14 kB / 1.488 GB, free: 13.5 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.6082, allocations: 7.938 kB / 1.488 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.6082, allocations: 4 kB / 1.488 GB, free: 13.49 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.6082, allocations: 4 kB / 1.488 GB, free: 13.49 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-05/0.6083, allocations: 7.984 kB / 1.488 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.6083, allocations: 0 / 1.488 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.324e-05/0.6083, allocations: 3.938 kB / 1.488 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.6083, allocations: 4 kB / 1.488 GB, free: 13.47 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.54e-05/0.6084, allocations: 110.5 kB / 1.488 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.457e-06/0.6085, allocations: 3.938 kB / 1.488 GB, free: 13.35 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.6085, allocations: 11.67 kB / 1.488 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.6085, allocations: 0 / 1.488 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.6085, allocations: 7.938 kB / 1.488 GB, free: 13.33 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.6085, allocations: 3.984 kB / 1.488 GB, free: 13.33 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.6086, allocations: 120.8 kB / 1.488 GB, free: 13.17 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.6086, allocations: 4 kB / 1.488 GB, free: 13.16 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.064e-05/0.6087, allocations: 11.92 kB / 1.488 GB, free: 13.15 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.6087, allocations: 3.938 kB / 1.488 GB, free: 13.15 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.6087, allocations: 4 kB / 1.488 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.6087, allocations: 0 / 1.488 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.6087, allocations: 0 / 1.488 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.6088, allocations: 77.12 kB / 1.488 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.6089, allocations: 11.88 kB / 1.488 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.6089, allocations: 0 / 1.488 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.497e-05/0.6089, allocations: 4 kB / 1.488 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.6089, allocations: 4 kB / 1.488 GB, free: 13.03 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.6089, allocations: 0 / 1.488 GB, free: 13.03 MB / 1.186 GB Notification: Performance of sorting global known variables: time 4.804e-05/0.609, allocations: 83.27 kB / 1.488 GB, free: 12.95 MB / 1.186 GB Notification: Performance of sort global known variables: time 7.1e-08/0.609, allocations: 0 / 1.488 GB, free: 12.95 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0001808/0.6092, allocations: 8 kB / 1.488 GB, free: 12.94 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.0004915/0.6097, allocations: 0.6124 MB / 1.489 GB, free: 12.3 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.6098, allocations: 19.98 kB / 1.489 GB, free: 12.28 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6098, allocations: 0 / 1.489 GB, free: 12.28 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 4.551e-05/0.6099, allocations: 11.94 kB / 1.489 GB, free: 12.27 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.6101, allocations: 10.48 kB / 1.489 GB, free: 12.26 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.6106, allocations: 149.9 kB / 1.489 GB, free: 12.07 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.611, allocations: 0.6768 MB / 1.49 GB, free: 11.37 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 4.023e-05/0.611, allocations: 4 kB / 1.49 GB, free: 11.36 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/0.611, allocations: 7.859 kB / 1.49 GB, free: 11.36 MB / 1.186 GB Notification: Performance of SimCode: time 3.3e-07/0.611, allocations: 0 / 1.49 GB, free: 11.36 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.6386, allocations: 1.371 MB / 1.491 GB, free: 10.12 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/11.25, allocations: 9.984 kB / 1.491 GB, free: 10.11 MB / 1.186 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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_Functions_Examples_Density_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.462494272000185]