Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.389/2.389, allocations: 443.5 MB / 0.7304 GB, free: 13.9 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 67.89 kB / 1.059 GB, free: 0.957 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2567, allocations: 160.7 MB / 1.216 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002267/0.2589, allocations: 1.286 MB / 1.217 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.6152/0.8741, allocations: 132.4 MB / 1.346 GB, free: 2.773 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.532e-05/0.8742, allocations: 1.031 kB / 1.346 GB, free: 2.773 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.8742, allocations: 3.938 kB / 1.346 GB, free: 2.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.476e-05/0.8742, allocations: 6.281 kB / 1.346 GB, free: 2.766 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.8746, allocations: 70.41 kB / 1.346 GB, free: 2.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.385e-05/0.8746, allocations: 21.23 kB / 1.346 GB, free: 2.723 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.424e-05/0.8747, allocations: 2.062 kB / 1.346 GB, free: 2.723 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.837e-05/0.8747, allocations: 10.44 kB / 1.346 GB, free: 2.719 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.345e-05/0.8748, allocations: 11.17 kB / 1.346 GB, free: 2.715 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.8748, allocations: 0 / 1.346 GB, free: 2.715 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-05/0.8749, allocations: 14.11 kB / 1.346 GB, free: 2.711 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.8749, allocations: 6.266 kB / 1.346 GB, free: 2.707 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.8749, allocations: 8.062 kB / 1.346 GB, free: 2.703 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 9.194e-05/0.875, allocations: 29.58 kB / 1.346 GB, free: 2.691 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.875, allocations: 0 / 1.346 GB, free: 2.691 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.794e-06/0.875, allocations: 0.6094 kB / 1.346 GB, free: 2.691 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.875, allocations: 1.438 kB / 1.346 GB, free: 2.691 MB / 1.029 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.0003837/0.8754, allocations: 336.7 kB / 1.347 GB, free: 2.328 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.8754, allocations: 10.25 kB / 1.347 GB, free: 2.328 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.8754, allocations: 31.41 kB / 1.347 GB, free: 2.289 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.8755, allocations: 3.312 kB / 1.347 GB, free: 2.289 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.8756, allocations: 167 kB / 1.347 GB, free: 2.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.537e-05/0.8757, allocations: 33.38 kB / 1.347 GB, free: 2.055 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.8757, allocations: 6.562 kB / 1.347 GB, free: 2.051 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.8758, allocations: 48.36 kB / 1.347 GB, free: 2.008 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.8758, allocations: 0 / 1.347 GB, free: 2.008 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.493e-06/0.8758, allocations: 0 / 1.347 GB, free: 2.008 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.8758, allocations: 0 / 1.347 GB, free: 2.008 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.518e-05/0.8759, allocations: 11.17 kB / 1.347 GB, free: 2.008 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.876, allocations: 153.2 kB / 1.347 GB, free: 1.816 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.744e-05/0.8761, allocations: 35.23 kB / 1.347 GB, free: 1.785 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.824e-05/0.8762, allocations: 16.2 kB / 1.347 GB, free: 1.773 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.8763, allocations: 88.05 kB / 1.347 GB, free: 1.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.8763, allocations: 40.02 kB / 1.347 GB, free: 1.633 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.8763, allocations: 0 / 1.347 GB, free: 1.633 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002178/0.8766, allocations: 59.17 kB / 1.347 GB, free: 1.594 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.8766, allocations: 51.41 kB / 1.347 GB, free: 1.531 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.076e-05/0.8767, allocations: 99.91 kB / 1.347 GB, free: 1.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.8767, allocations: 25.7 kB / 1.347 GB, free: 1.398 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/0.8767, allocations: 82.14 kB / 1.348 GB, free: 1.316 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.8768, allocations: 9.984 kB / 1.348 GB, free: 1.309 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.8768, allocations: 17.22 kB / 1.348 GB, free: 1.289 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.8769, allocations: 317.2 kB / 1.348 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.191e-05/0.877, allocations: 9.531 kB / 1.348 GB, free: 0.9688 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.831e-05/0.877, allocations: 10.7 kB / 1.348 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.623e-05/0.8771, allocations: 26.28 kB / 1.348 GB, free: 0.9492 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.8771, allocations: 0 / 1.348 GB, free: 0.9492 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001182/0.8772, allocations: 49.23 kB / 1.348 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.8772, allocations: 8.719 kB / 1.348 GB, free: 0.9102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.8772, allocations: 1.781 kB / 1.348 GB, free: 0.9102 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.8772, allocations: 4 kB / 1.348 GB, free: 0.9062 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.903e-05/0.8773, allocations: 7.141 kB / 1.348 GB, free: 0.9062 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.8773, allocations: 0.7031 kB / 1.348 GB, free: 0.9062 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.135e-05/0.8773, allocations: 6.203 kB / 1.348 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-06/0.8773, allocations: 1.906 kB / 1.348 GB, free: 0.9023 MB / 1.029 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 7.463e-05/0.8774, allocations: 108.5 kB / 1.348 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.8774, allocations: 8.969 kB / 1.348 GB, free: 0.7812 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.8776, allocations: 62.22 kB / 1.348 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.8776, allocations: 6.25 kB / 1.348 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.8776, allocations: 0 / 1.348 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.8776, allocations: 0 / 1.348 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.8777, allocations: 153.4 kB / 1.348 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.8777, allocations: 3.578 kB / 1.348 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.155e-05/0.8778, allocations: 10.2 kB / 1.348 GB, free: 0.5312 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.8778, allocations: 4.734 kB / 1.348 GB, free: 0.5273 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.8778, allocations: 1.094 kB / 1.348 GB, free: 0.5273 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8778, allocations: 0 / 1.348 GB, free: 0.5273 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.8778, allocations: 1.125 kB / 1.348 GB, free: 0.5273 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.8779, allocations: 82.44 kB / 1.348 GB, free: 460 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.878, allocations: 83.98 kB / 1.348 GB, free: 360 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.878, allocations: 1.953 kB / 1.348 GB, free: 360 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.999e-05/0.878, allocations: 5.797 kB / 1.348 GB, free: 356 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/0.878, allocations: 2.375 kB / 1.348 GB, free: 356 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.878, allocations: 1.094 kB / 1.348 GB, free: 356 kB / 1.029 GB Notification: Performance of sorting global known variables: time 4.881e-05/0.8781, allocations: 79.2 kB / 1.349 GB, free: 280 kB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.8781, allocations: 4 kB / 1.349 GB, free: 276 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001763/0.8783, allocations: 9.484 kB / 1.349 GB, free: 276 kB / 1.029 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.0004892/0.8788, allocations: 0.6261 MB / 1.349 GB, free: 15.66 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000141/0.8789, allocations: 28.06 kB / 1.349 GB, free: 15.65 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.8789, allocations: 0 / 1.349 GB, free: 15.65 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.456e-05/0.8789, allocations: 9.328 kB / 1.349 GB, free: 15.65 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.8791, allocations: 5.156 kB / 1.349 GB, free: 15.65 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.8795, allocations: 164.4 kB / 1.349 GB, free: 15.49 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.8798, allocations: 0.6751 MB / 1.35 GB, free: 14.79 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.389e-05/0.8799, allocations: 6.094 kB / 1.35 GB, free: 14.79 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.8799, allocations: 10.33 kB / 1.35 GB, free: 14.78 MB / 1.045 GB Notification: Performance of SimCode: time 5.31e-07/0.8799, allocations: 0 / 1.35 GB, free: 14.78 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.902, allocations: 1.356 MB / 1.351 GB, free: 14.43 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.856/7.758, allocations: 1.062 kB / 1.351 GB, free: 14.43 MB / 1.045 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Functions.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_10_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.988109902995348]