Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005086/0.005086, allocations: 99.34 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 195.1 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.84 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2477, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.7525/1, allocations: 237.6 MB / 1.398 GB, free: 15 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01965/1.02, allocations: 15.78 MB / 1.414 GB, free: 2.184 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002265/1.022, allocations: 64.41 kB / 1.414 GB, free: 2.16 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002524/1.025, allocations: 1.083 MB / 1.415 GB, free: 1.27 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007153/1.032, allocations: 3.098 MB / 1.418 GB, free: 14.89 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004009/1.036, allocations: 1.697 MB / 1.419 GB, free: 13.63 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004754/1.041, allocations: 3.447 MB / 1.423 GB, free: 11.64 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001671/1.042, allocations: 1.295 MB / 1.424 GB, free: 10.81 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005919/1.048, allocations: 2.566 MB / 1.427 GB, free: 9.195 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00204/1.05, allocations: 1.084 MB / 1.428 GB, free: 8.559 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001991/1.051, allocations: 118.1 kB / 1.428 GB, free: 8.559 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005546/1.056, allocations: 3.107 MB / 1.431 GB, free: 5.844 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005172/1.057, allocations: 474.5 kB / 1.431 GB, free: 5.379 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001086/1.058, allocations: 0.8085 MB / 1.432 GB, free: 4.566 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005506/1.063, allocations: 2.978 MB / 1.435 GB, free: 1.578 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/1.063, allocations: 0 / 1.435 GB, free: 1.578 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.423e-06/1.063, allocations: 3.938 kB / 1.435 GB, free: 1.574 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.982e-05/1.063, allocations: 0 / 1.435 GB, free: 1.574 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003614/1.067, allocations: 2.072 MB / 1.437 GB, free: 15.44 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.067, allocations: 8.031 kB / 1.437 GB, free: 15.43 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000171/1.067, allocations: 152.2 kB / 1.437 GB, free: 15.28 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002786/1.07, allocations: 0.4985 MB / 1.438 GB, free: 14.78 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002252/1.072, allocations: 1.181 MB / 1.439 GB, free: 13.54 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.423e-05/1.072, allocations: 85.98 kB / 1.439 GB, free: 13.46 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/1.073, allocations: 100 kB / 1.439 GB, free: 13.36 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/1.075, allocations: 1.346 MB / 1.44 GB, free: 11.89 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/1.075, allocations: 7.938 kB / 1.44 GB, free: 11.89 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.585e-05/1.075, allocations: 47.98 kB / 1.44 GB, free: 11.84 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.927e-05/1.075, allocations: 41.98 kB / 1.44 GB, free: 11.8 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002385/1.077, allocations: 1.057 MB / 1.441 GB, free: 10.74 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007753/1.085, allocations: 7.396 MB / 1.449 GB, free: 2.871 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/1.087, allocations: 0.5309 MB / 1.449 GB, free: 2.332 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006244/1.087, allocations: 265.2 kB / 1.449 GB, free: 2.07 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003749/1.088, allocations: 287.5 kB / 1.45 GB, free: 1.734 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/1.088, allocations: 38.84 kB / 1.45 GB, free: 1.688 MB / 1.107 GB Notification: Performance of pre-optimization done (n=33): time 2.475e-06/1.088, allocations: 0 / 1.45 GB, free: 1.688 MB / 1.107 GB Notification: Performance of matching and sorting (n=33): time 0.002452/1.09, allocations: 0.8446 MB / 1.45 GB, free: 0.8359 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/1.09, allocations: 55.41 kB / 1.45 GB, free: 0.7695 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/1.092, allocations: 1.391 MB / 1.452 GB, free: 15.36 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.303e-05/1.092, allocations: 37.7 kB / 1.452 GB, free: 15.32 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005398/1.093, allocations: 0.7156 MB / 1.453 GB, free: 14.61 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/1.093, allocations: 127 kB / 1.453 GB, free: 14.48 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/1.093, allocations: 170.4 kB / 1.453 GB, free: 14.3 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.094, allocations: 337.9 kB / 1.453 GB, free: 13.97 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008365/1.094, allocations: 316.6 kB / 1.453 GB, free: 13.66 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/1.095, allocations: 0.6814 MB / 1.454 GB, free: 12.8 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/1.097, allocations: 0.9342 MB / 1.455 GB, free: 11.71 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/1.097, allocations: 4 kB / 1.455 GB, free: 11.7 MB / 1.123 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002421/1.1, allocations: 1.059 MB / 1.456 GB, free: 10.64 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/1.1, allocations: 12 kB / 1.456 GB, free: 10.62 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/1.1, allocations: 16.12 kB / 1.456 GB, free: 10.61 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.834e-05/1.1, allocations: 19.98 kB / 1.456 GB, free: 10.59 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008461/1.101, allocations: 191.7 kB / 1.456 GB, free: 10.4 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.351e-05/1.101, allocations: 23.92 kB / 1.456 GB, free: 10.38 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/1.102, allocations: 183 kB / 1.457 GB, free: 10.2 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.391e-05/1.102, allocations: 51.92 kB / 1.457 GB, free: 10.15 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001173/1.103, allocations: 0.5604 MB / 1.457 GB, free: 9.586 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001058/1.104, allocations: 0.6891 MB / 1.458 GB, free: 8.719 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001686/1.106, allocations: 0.9295 MB / 1.459 GB, free: 7.629 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.865e-06/1.106, allocations: 4 kB / 1.459 GB, free: 7.625 MB / 1.123 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002441/1.108, allocations: 1.047 MB / 1.46 GB, free: 6.57 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/1.108, allocations: 15.92 kB / 1.46 GB, free: 6.555 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.109, allocations: 15.94 kB / 1.46 GB, free: 6.539 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/1.109, allocations: 16 kB / 1.46 GB, free: 6.523 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007962/1.109, allocations: 200.1 kB / 1.46 GB, free: 6.328 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.162e-05/1.109, allocations: 25.48 kB / 1.46 GB, free: 6.305 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/1.111, allocations: 131.8 kB / 1.46 GB, free: 6.176 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.692e-05/1.111, allocations: 47.98 kB / 1.46 GB, free: 6.129 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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 0.0002261/1.111, allocations: 239.9 kB / 1.46 GB, free: 5.887 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000257/1.111, allocations: 155 kB / 1.461 GB, free: 5.734 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/1.113, allocations: 0.6248 MB / 1.461 GB, free: 5.098 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/1.113, allocations: 4 kB / 1.461 GB, free: 5.094 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.113, allocations: 0 / 1.461 GB, free: 5.094 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.113, allocations: 3.984 kB / 1.461 GB, free: 5.09 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003504/1.116, allocations: 1.892 MB / 1.463 GB, free: 3.09 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/1.116, allocations: 8 kB / 1.463 GB, free: 3.082 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/1.117, allocations: 104 kB / 1.463 GB, free: 2.98 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/1.117, allocations: 8 kB / 1.463 GB, free: 2.973 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/1.117, allocations: 11.98 kB / 1.463 GB, free: 2.961 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/1.117, allocations: 8 kB / 1.463 GB, free: 2.953 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.117, allocations: 7.938 kB / 1.463 GB, free: 2.945 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/1.119, allocations: 0.8045 MB / 1.464 GB, free: 2.074 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005227/1.119, allocations: 311.9 kB / 1.464 GB, free: 1.75 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002561/1.119, allocations: 11.98 kB / 1.464 GB, free: 1.738 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/1.12, allocations: 67.92 kB / 1.464 GB, free: 1.672 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.972e-05/1.121, allocations: 39.78 kB / 1.464 GB, free: 1.633 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-05/1.121, allocations: 19.98 kB / 1.464 GB, free: 1.613 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001486/1.122, allocations: 1.009 MB / 1.465 GB, free: 0.6094 MB / 1.123 GB Notification: Performance of sort global known variables: time 2e-07/1.122, allocations: 4 kB / 1.465 GB, free: 0.6055 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001813/1.124, allocations: 0.5736 MB / 1.466 GB, free: 32 kB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.002372/1.126, allocations: 1.525 MB / 1.467 GB, free: 14.44 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002845/1.129, allocations: 1.122 MB / 1.468 GB, free: 13.32 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.129, allocations: 4 kB / 1.468 GB, free: 13.32 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006458/1.13, allocations: 256 kB / 1.469 GB, free: 13.07 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003501/1.133, allocations: 0.7459 MB / 1.469 GB, free: 12.34 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/1.151, allocations: 9.846 MB / 1.479 GB, free: 1.945 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007592/1.152, allocations: 1.182 MB / 1.48 GB, free: 0.7344 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001358/1.153, allocations: 379.8 kB / 1.481 GB, free: 368 kB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006616/1.154, allocations: 499.3 kB / 1.481 GB, free: 15.87 MB / 1.154 GB Notification: Performance of SimCode: time 7.71e-07/1.154, allocations: 0 / 1.481 GB, free: 15.87 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06343/1.217, allocations: 35.63 MB / 1.516 GB, free: 12.71 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.792/11.01, allocations: 3.938 kB / 1.516 GB, free: 12.71 MB / 1.186 GB (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Examples.Performance.Example4_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_10_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example4_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches