Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_latest_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.004907/0.004907, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001383/0.001383, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.832/2.832, allocations: 482.4 MB / 0.7548 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 67.08 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.276, allocations: 162.2 MB / 1.241 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2583/0.5344, allocations: 237.7 MB / 1.474 GB, free: 10.68 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02234/0.5568, allocations: 15.77 MB / 1.489 GB, free: 10.86 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/0.5586, allocations: 63.62 kB / 1.489 GB, free: 10.79 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002515/0.5612, allocations: 1.041 MB / 1.49 GB, free: 9.746 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.006934/0.5681, allocations: 2.97 MB / 1.493 GB, free: 6.766 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004021/0.5721, allocations: 1.679 MB / 1.495 GB, free: 5.094 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004594/0.5767, allocations: 3.413 MB / 1.498 GB, free: 1.672 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001742/0.5785, allocations: 1.299 MB / 1.499 GB, free: 344 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006147/0.5846, allocations: 2.745 MB / 1.502 GB, free: 13.59 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002156/0.5868, allocations: 1.056 MB / 1.503 GB, free: 12.54 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002293/0.5871, allocations: 116 kB / 1.503 GB, free: 12.43 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00575/0.5928, allocations: 3.087 MB / 1.506 GB, free: 9.336 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005374/0.5934, allocations: 474.5 kB / 1.506 GB, free: 8.871 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.5944, allocations: 0.8123 MB / 1.507 GB, free: 8.055 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004679/0.5991, allocations: 2.978 MB / 1.51 GB, free: 5.066 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5991, allocations: 0 / 1.51 GB, free: 5.066 MB / 1.232 GB Notification: Performance of FrontEnd: time 3.486e-06/0.5991, allocations: 0 / 1.51 GB, free: 5.066 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.893e-05/0.5991, allocations: 3.938 kB / 1.51 GB, free: 5.062 MB / 1.232 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.003595/0.6027, allocations: 2.057 MB / 1.512 GB, free: 2.945 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.6028, allocations: 12.03 kB / 1.512 GB, free: 2.934 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001915/0.603, allocations: 152.2 kB / 1.512 GB, free: 2.777 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002788/0.6058, allocations: 0.4985 MB / 1.513 GB, free: 2.277 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/0.6082, allocations: 1.181 MB / 1.514 GB, free: 1.043 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.953e-05/0.6082, allocations: 78 kB / 1.514 GB, free: 0.9648 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.6084, allocations: 99.98 kB / 1.514 GB, free: 0.8672 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/0.6109, allocations: 1.362 MB / 1.515 GB, free: 15.39 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.611, allocations: 0 / 1.515 GB, free: 15.39 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.6111, allocations: 47.94 kB / 1.515 GB, free: 15.34 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.047e-05/0.6112, allocations: 49.98 kB / 1.516 GB, free: 15.29 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/0.6137, allocations: 1.046 MB / 1.517 GB, free: 14.24 MB / 1.248 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.008589/0.6223, allocations: 7.472 MB / 1.524 GB, free: 6.273 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.624, allocations: 0.5348 MB / 1.524 GB, free: 5.73 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006885/0.6247, allocations: 273 kB / 1.525 GB, free: 5.461 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004211/0.6251, allocations: 283.6 kB / 1.525 GB, free: 5.129 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.6252, allocations: 42.84 kB / 1.525 GB, free: 5.078 MB / 1.248 GB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/0.6252, allocations: 0 / 1.525 GB, free: 5.078 MB / 1.248 GB Notification: Performance of matching and sorting (n=33): time 0.002534/0.6277, allocations: 0.8338 MB / 1.526 GB, free: 4.238 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.6278, allocations: 59.39 kB / 1.526 GB, free: 4.168 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/0.6298, allocations: 1.387 MB / 1.527 GB, free: 2.77 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/0.6299, allocations: 41.64 kB / 1.527 GB, free: 2.723 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006575/0.6305, allocations: 0.7196 MB / 1.528 GB, free: 2 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.6307, allocations: 123 kB / 1.528 GB, free: 1.879 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002842/0.6309, allocations: 170.5 kB / 1.528 GB, free: 1.707 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.6311, allocations: 337.9 kB / 1.529 GB, free: 1.371 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009069/0.632, allocations: 312.6 kB / 1.529 GB, free: 1.062 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.6333, allocations: 0.6853 MB / 1.529 GB, free: 204 kB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/0.6352, allocations: 0.9275 MB / 1.53 GB, free: 15.11 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.6352, allocations: 4 kB / 1.53 GB, free: 15.11 MB / 1.264 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002441/0.6377, allocations: 1.058 MB / 1.531 GB, free: 14.04 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.6377, allocations: 12 kB / 1.531 GB, free: 14.03 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.6377, allocations: 12 kB / 1.531 GB, free: 14.02 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.6378, allocations: 16.75 kB / 1.531 GB, free: 14 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008796/0.6387, allocations: 211.7 kB / 1.532 GB, free: 13.79 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.33e-05/0.6387, allocations: 19.94 kB / 1.532 GB, free: 13.77 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.6399, allocations: 179 kB / 1.532 GB, free: 13.6 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-05/0.64, allocations: 47.98 kB / 1.532 GB, free: 13.55 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001257/0.6413, allocations: 0.5643 MB / 1.532 GB, free: 12.98 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001219/0.6425, allocations: 0.6852 MB / 1.533 GB, free: 12.12 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001874/0.6444, allocations: 0.9295 MB / 1.534 GB, free: 11.03 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.691e-06/0.6444, allocations: 4 kB / 1.534 GB, free: 11.03 MB / 1.264 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002422/0.6469, allocations: 1.047 MB / 1.535 GB, free: 9.973 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.6469, allocations: 14.41 kB / 1.535 GB, free: 9.961 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.6469, allocations: 12 kB / 1.535 GB, free: 9.949 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.6469, allocations: 19.94 kB / 1.535 GB, free: 9.93 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000843/0.6478, allocations: 207.7 kB / 1.535 GB, free: 9.727 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/0.6478, allocations: 23.92 kB / 1.535 GB, free: 9.703 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.649, allocations: 131.5 kB / 1.535 GB, free: 9.574 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.311e-05/0.6491, allocations: 43.98 kB / 1.535 GB, free: 9.531 MB / 1.264 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.0002106/0.6493, allocations: 239.8 kB / 1.536 GB, free: 9.289 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.6495, allocations: 151 kB / 1.536 GB, free: 9.141 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/0.6513, allocations: 0.6443 MB / 1.537 GB, free: 8.484 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.6513, allocations: 0 / 1.537 GB, free: 8.484 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.6513, allocations: 0 / 1.537 GB, free: 8.484 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6513, allocations: 4 kB / 1.537 GB, free: 8.48 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003594/0.6549, allocations: 1.894 MB / 1.538 GB, free: 6.477 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.6549, allocations: 11.88 kB / 1.538 GB, free: 6.465 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/0.6554, allocations: 92.05 kB / 1.538 GB, free: 6.375 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.6554, allocations: 8 kB / 1.538 GB, free: 6.367 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.6555, allocations: 12 kB / 1.538 GB, free: 6.355 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.6555, allocations: 4 kB / 1.538 GB, free: 6.352 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/0.6555, allocations: 7.938 kB / 1.538 GB, free: 6.344 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.6572, allocations: 0.8081 MB / 1.539 GB, free: 5.469 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004427/0.6576, allocations: 303.9 kB / 1.54 GB, free: 5.152 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/0.6578, allocations: 12 kB / 1.54 GB, free: 5.141 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.6588, allocations: 67.95 kB / 1.54 GB, free: 5.078 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/0.6589, allocations: 43.84 kB / 1.54 GB, free: 5.035 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.181e-05/0.659, allocations: 23.97 kB / 1.54 GB, free: 5.012 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00152/0.6605, allocations: 1.005 MB / 1.541 GB, free: 4.012 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6605, allocations: 0 / 1.541 GB, free: 4.012 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.00174/0.6623, allocations: 0.5775 MB / 1.541 GB, free: 3.434 MB / 1.264 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.002483/0.6648, allocations: 1.532 MB / 1.543 GB, free: 1.84 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003058/0.6678, allocations: 1.118 MB / 1.544 GB, free: 0.7266 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.6679, allocations: 4.938 kB / 1.544 GB, free: 0.7227 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0007263/0.6686, allocations: 256.5 kB / 1.544 GB, free: 484 kB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5067/1.175, allocations: 0.7234 MB / 1.545 GB, free: 302.9 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/1.192, allocations: 9.841 MB / 1.554 GB, free: 298.8 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006327/1.192, allocations: 1.182 MB / 1.556 GB, free: 298.1 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00147/1.194, allocations: 389.9 kB / 1.556 GB, free: 298 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006014/1.194, allocations: 0.4889 MB / 1.556 GB, free: 297.7 MB / 1.264 GB Notification: Performance of SimCode: time 6.31e-07/1.194, allocations: 1.812 kB / 1.556 GB, free: 297.7 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07104/1.266, allocations: 35.62 MB / 1.591 GB, free: 278.7 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/11.55, allocations: 12.59 kB / 1.591 GB, free: 278.7 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.csv --start-time 0 --stop-time 20 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_latest_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches