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.001794/0.001794, allocations: 109.2 kB / 16.45 MB, free: 6.453 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.00213/0.00213, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.393/1.393, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.033/3.033, allocations: 0.505 GB / 0.8066 GB, free: 23.07 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.002048/0.002048, allocations: 66.11 kB / 1.172 GB, free: 17.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3045, allocations: 180.2 MB / 1.348 GB, free: 9.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001577/0.306, allocations: 0.5272 MB / 1.348 GB, free: 9.457 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001099/0.3061, allocations: 19.95 kB / 1.348 GB, free: 9.438 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.257e-05/0.3062, allocations: 4 kB / 1.348 GB, free: 9.434 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.417e-05/0.3062, allocations: 3.938 kB / 1.348 GB, free: 9.43 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.3063, allocations: 0 / 1.348 GB, free: 9.43 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.256e-06/0.3063, allocations: 0 / 1.348 GB, free: 9.43 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.958e-05/0.3064, allocations: 4 kB / 1.348 GB, free: 9.426 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.3064, allocations: 0 / 1.348 GB, free: 9.426 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.394e-05/0.3064, allocations: 7.922 kB / 1.348 GB, free: 9.418 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.087e-05/0.3065, allocations: 4 kB / 1.348 GB, free: 9.414 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.3065, allocations: 0 / 1.348 GB, free: 9.414 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.899e-06/0.3065, allocations: 4 kB / 1.348 GB, free: 9.41 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.3065, allocations: 11.86 kB / 1.348 GB, free: 9.398 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.348e-05/0.3065, allocations: 4 kB / 1.348 GB, free: 9.395 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 4.22e-05/0.3065, allocations: 4 kB / 1.348 GB, free: 9.391 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3065, allocations: 4 kB / 1.348 GB, free: 9.387 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3065, allocations: 0 / 1.348 GB, free: 9.387 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3065, allocations: 0 / 1.348 GB, free: 9.387 MB / 1.045 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.0002942/0.3068, allocations: 319.8 kB / 1.349 GB, free: 9.023 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3069, allocations: 11.98 kB / 1.349 GB, free: 9.012 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.425e-05/0.3069, allocations: 30.75 kB / 1.349 GB, free: 8.973 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.029e-05/0.3069, allocations: 8.938 kB / 1.349 GB, free: 8.965 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.307, allocations: 160.4 kB / 1.349 GB, free: 8.77 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.455e-06/0.3071, allocations: 384 / 1.349 GB, free: 8.77 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-06/0.3071, allocations: 384 / 1.349 GB, free: 8.77 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.3072, allocations: 55.84 kB / 1.349 GB, free: 8.703 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3072, allocations: 3.938 kB / 1.349 GB, free: 8.699 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.3072, allocations: 0 / 1.349 GB, free: 8.699 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.3072, allocations: 0 / 1.349 GB, free: 8.699 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.895e-05/0.3072, allocations: 11.98 kB / 1.349 GB, free: 8.688 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.3074, allocations: 154.6 kB / 1.349 GB, free: 8.484 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.287e-05/0.3074, allocations: 37.23 kB / 1.349 GB, free: 8.43 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.279e-05/0.3074, allocations: 17.72 kB / 1.349 GB, free: 8.406 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.3075, allocations: 0 / 1.349 GB, free: 8.406 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.3075, allocations: 38.56 kB / 1.349 GB, free: 8.359 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.3075, allocations: 0 / 1.349 GB, free: 8.359 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001351/0.3076, allocations: 49.56 kB / 1.349 GB, free: 8.305 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.3077, allocations: 77.11 kB / 1.349 GB, free: 8.211 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.458e-05/0.3077, allocations: 97.8 kB / 1.349 GB, free: 8.105 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.3077, allocations: 26.08 kB / 1.349 GB, free: 8.074 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.3078, allocations: 84.14 kB / 1.349 GB, free: 7.988 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.3078, allocations: 3.953 kB / 1.349 GB, free: 7.984 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.3078, allocations: 17.72 kB / 1.349 GB, free: 7.961 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3079, allocations: 315.2 kB / 1.35 GB, free: 7.645 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-06/0.308, allocations: 0 / 1.35 GB, free: 7.645 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.732e-05/0.308, allocations: 13.72 kB / 1.35 GB, free: 7.625 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.314e-05/0.308, allocations: 21.78 kB / 1.35 GB, free: 7.598 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.308, allocations: 0 / 1.35 GB, free: 7.598 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.766e-05/0.3081, allocations: 41.62 kB / 1.35 GB, free: 7.551 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3081, allocations: 11.94 kB / 1.35 GB, free: 7.539 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.3081, allocations: 0 / 1.35 GB, free: 7.539 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.3081, allocations: 0 / 1.35 GB, free: 7.539 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.068e-05/0.3082, allocations: 4 kB / 1.35 GB, free: 7.535 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.3082, allocations: 0 / 1.35 GB, free: 7.535 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.545e-05/0.3082, allocations: 3.938 kB / 1.35 GB, free: 7.531 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.3082, allocations: 8.062 kB / 1.35 GB, free: 7.523 MB / 1.045 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.849e-05/0.3083, allocations: 109.8 kB / 1.35 GB, free: 7.406 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.3083, allocations: 3.938 kB / 1.35 GB, free: 7.402 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.3084, allocations: 52.75 kB / 1.35 GB, free: 7.34 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.3084, allocations: 0 / 1.35 GB, free: 7.34 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3084, allocations: 0 / 1.35 GB, free: 7.34 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3084, allocations: 7.922 kB / 1.35 GB, free: 7.332 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.3085, allocations: 153.7 kB / 1.35 GB, free: 7.133 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.3085, allocations: 7.938 kB / 1.35 GB, free: 7.125 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.232e-05/0.3085, allocations: 4 kB / 1.35 GB, free: 7.121 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3085, allocations: 3.938 kB / 1.35 GB, free: 7.117 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.3085, allocations: 0 / 1.35 GB, free: 7.117 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.3085, allocations: 3.984 kB / 1.35 GB, free: 7.113 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3085, allocations: 0 / 1.35 GB, free: 7.113 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.049e-05/0.3086, allocations: 77.95 kB / 1.35 GB, free: 7.016 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.3087, allocations: 81.09 kB / 1.35 GB, free: 6.918 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.3087, allocations: 3.938 kB / 1.35 GB, free: 6.914 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.601e-05/0.3087, allocations: 4 kB / 1.35 GB, free: 6.91 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.3087, allocations: 0 / 1.35 GB, free: 6.91 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.3087, allocations: 3.938 kB / 1.35 GB, free: 6.906 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.673e-05/0.3088, allocations: 75.28 kB / 1.35 GB, free: 6.832 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3088, allocations: 0 / 1.35 GB, free: 6.832 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001781/0.3089, allocations: 8.125 kB / 1.35 GB, free: 6.824 MB / 1.045 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.0003744/0.3093, allocations: 0.6055 MB / 1.351 GB, free: 6.184 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 6.64e-05/0.3094, allocations: 7.938 kB / 1.351 GB, free: 6.176 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3094, allocations: 4.156 kB / 1.351 GB, free: 6.172 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.638e-06/0.3094, allocations: 7.984 kB / 1.351 GB, free: 6.164 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.3095, allocations: 4 kB / 1.351 GB, free: 6.16 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.3098, allocations: 119.5 kB / 1.351 GB, free: 6 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.3101, allocations: 0.6729 MB / 1.352 GB, free: 5.301 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.7e-05/0.3101, allocations: 7.938 kB / 1.352 GB, free: 5.293 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.3101, allocations: 11.56 kB / 1.352 GB, free: 5.285 MB / 1.045 GB Notification: Performance of SimCode: time 3.7e-07/0.3101, allocations: 0 / 1.352 GB, free: 5.285 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.3324, allocations: 0.9293 MB / 1.353 GB, free: 4.438 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.731/8.064, allocations: 7.688 kB / 1.353 GB, free: 4.43 MB / 1.045 GB " [Timeout remaining time 292] (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: 14.28083109902218]