Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.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.001476/0.001476, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001637/0.001637, allocations: 217.1 kB / 22.25 MB, free: 4.855 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.34/1.34, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 179] 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 2.986/2.986, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example8",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.001931/0.001931, allocations: 71.11 kB / 1.186 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2819, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001496/0.2834, allocations: 0.5311 MB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001161/0.2835, allocations: 15.91 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.27e-05/0.2835, allocations: 3.938 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.2835, allocations: 0 / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.2837, allocations: 4 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.386e-06/0.2837, allocations: 0 / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.269e-05/0.2837, allocations: 7.938 kB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.2838, allocations: 0 / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.474e-05/0.2838, allocations: 7.984 kB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.192e-05/0.2838, allocations: 11.92 kB / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.2838, allocations: 0 / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.531e-06/0.2838, allocations: 0 / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.206e-06/0.2839, allocations: 0 / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.401e-05/0.2839, allocations: 7.938 kB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 3.72e-05/0.2839, allocations: 4 kB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2839, allocations: 0 / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2839, allocations: 0 / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.2839, allocations: 0 / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002626/0.2842, allocations: 238.7 kB / 1.364 GB, free: 13.19 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.2842, allocations: 12.03 kB / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.252e-05/0.2842, allocations: 38.73 kB / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.809e-05/0.2843, allocations: 4.922 kB / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.235e-05/0.2843, allocations: 106.5 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-06/0.2844, allocations: 4.375 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.2844, allocations: 384 / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.895e-05/0.2845, allocations: 48.39 kB / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2845, allocations: 3.938 kB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.2845, allocations: 0 / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.2845, allocations: 0 / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.212e-05/0.2845, allocations: 11.92 kB / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.2846, allocations: 129.7 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.968e-05/0.2847, allocations: 37.25 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.043e-05/0.2847, allocations: 13.72 kB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.2847, allocations: 8 kB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.2847, allocations: 38.48 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2847, allocations: 0 / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001183/0.2849, allocations: 41.58 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.2849, allocations: 85.11 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.475e-05/0.285, allocations: 94.09 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.285, allocations: 29.83 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.285, allocations: 84.12 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.285, allocations: 7.953 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.2851, allocations: 13.72 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2852, allocations: 314.8 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-06/0.2852, allocations: 0 / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.089e-05/0.2852, allocations: 13.72 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.529e-05/0.2853, allocations: 25.64 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.2853, allocations: 64 / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.537e-05/0.2853, allocations: 37.7 kB / 1.365 GB, free: 11.81 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.2853, allocations: 11.94 kB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.2853, allocations: 0 / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2854, allocations: 3.938 kB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.47e-05/0.2854, allocations: 4 kB / 1.365 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.2854, allocations: 7.922 kB / 1.365 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.436e-05/0.2854, allocations: 0 / 1.365 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.2854, allocations: 4 kB / 1.365 GB, free: 11.78 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 6.869e-05/0.2855, allocations: 109.8 kB / 1.365 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.2855, allocations: 11.95 kB / 1.365 GB, free: 11.65 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.381e-05/0.2856, allocations: 52.62 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2856, allocations: 0 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.2856, allocations: 0 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.2856, allocations: 0 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.435e-05/0.2857, allocations: 124.7 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2857, allocations: 0 / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.17e-05/0.2857, allocations: 4 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2857, allocations: 3.938 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.2857, allocations: 4.062 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.2857, allocations: 4 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2857, allocations: 0 / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.75e-05/0.2858, allocations: 73.86 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.2859, allocations: 8 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.2859, allocations: 3.938 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.546e-05/0.2859, allocations: 4 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.2859, allocations: 4 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-06/0.2859, allocations: 0 / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.492e-05/0.2859, allocations: 79.31 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.2859, allocations: 0 / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001991/0.2861, allocations: 7.984 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0003651/0.2865, allocations: 0.6041 MB / 1.366 GB, free: 10.58 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.067e-05/0.2866, allocations: 7.938 kB / 1.366 GB, free: 10.57 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2866, allocations: 0 / 1.366 GB, free: 10.57 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.699e-06/0.2866, allocations: 4 kB / 1.366 GB, free: 10.57 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.2867, allocations: 4.375 kB / 1.366 GB, free: 10.56 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002765/0.287, allocations: 119.5 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.426e-05/0.287, allocations: 55.36 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.561e-05/0.287, allocations: 4 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.287, allocations: 7.438 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of SimCode: time 3.5e-07/0.287, allocations: 0 / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.3123, allocations: 1.418 MB / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.91, allocations: 11.59 kB / 1.368 GB, free: 9.012 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 Buildings_latest_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.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: 16.9520069276914]