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.005031/0.005031, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.001332/0.001332, allocations: 192.3 kB / 16.68 MB, free: 5.973 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.504/2.504, allocations: 482.6 MB / 0.7551 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 64.42 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2731, allocations: 162.3 MB / 1.242 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2421/0.5152, allocations: 237.7 MB / 1.474 GB, free: 10.36 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02023/0.5354, allocations: 15.78 MB / 1.489 GB, free: 10.54 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/0.5371, allocations: 63.62 kB / 1.489 GB, free: 10.47 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002444/0.5396, allocations: 1.041 MB / 1.49 GB, free: 9.426 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.006693/0.5463, allocations: 2.963 MB / 1.493 GB, free: 6.449 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003805/0.5501, allocations: 1.683 MB / 1.495 GB, free: 4.773 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004373/0.5545, allocations: 3.416 MB / 1.498 GB, free: 1.348 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001841/0.5564, allocations: 1.295 MB / 1.5 GB, free: 20 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006025/0.5624, allocations: 2.746 MB / 1.502 GB, free: 13.28 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002075/0.5645, allocations: 1.05 MB / 1.503 GB, free: 12.23 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002368/0.5648, allocations: 120 kB / 1.503 GB, free: 12.12 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005228/0.57, allocations: 3.079 MB / 1.506 GB, free: 9.031 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005049/0.5705, allocations: 474.4 kB / 1.507 GB, free: 8.566 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0009527/0.5715, allocations: 0.8123 MB / 1.508 GB, free: 7.75 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004397/0.5759, allocations: 2.978 MB / 1.511 GB, free: 4.762 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.5759, allocations: 7.984 kB / 1.511 GB, free: 4.754 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5759, allocations: 0 / 1.511 GB, free: 4.754 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.455e-05/0.5759, allocations: 0 / 1.511 GB, free: 4.754 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.003292/0.5792, allocations: 2.053 MB / 1.513 GB, free: 2.641 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.5793, allocations: 8.031 kB / 1.513 GB, free: 2.633 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001735/0.5795, allocations: 160.2 kB / 1.513 GB, free: 2.469 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002551/0.582, allocations: 0.5062 MB / 1.513 GB, free: 1.961 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002089/0.5841, allocations: 1.181 MB / 1.514 GB, free: 0.7266 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.519e-05/0.5842, allocations: 78 kB / 1.514 GB, free: 0.6484 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.5844, allocations: 100 kB / 1.515 GB, free: 0.5508 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/0.5866, allocations: 1.359 MB / 1.516 GB, free: 15.07 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.5867, allocations: 7.938 kB / 1.516 GB, free: 15.07 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.306e-05/0.5868, allocations: 40 kB / 1.516 GB, free: 15.03 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.234e-05/0.5868, allocations: 42 kB / 1.516 GB, free: 14.98 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002279/0.5891, allocations: 1.054 MB / 1.517 GB, free: 13.93 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.007447/0.5966, allocations: 7.468 MB / 1.524 GB, free: 5.965 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.5981, allocations: 0.5387 MB / 1.525 GB, free: 5.418 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006111/0.5987, allocations: 265.1 kB / 1.525 GB, free: 5.156 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003768/0.5991, allocations: 287.6 kB / 1.525 GB, free: 4.82 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.5992, allocations: 38.78 kB / 1.525 GB, free: 4.773 MB / 1.248 GB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/0.5992, allocations: 0 / 1.525 GB, free: 4.773 MB / 1.248 GB Notification: Performance of matching and sorting (n=33): time 0.002221/0.6014, allocations: 0.8416 MB / 1.526 GB, free: 3.926 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.6014, allocations: 55.41 kB / 1.526 GB, free: 3.859 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/0.6032, allocations: 1.395 MB / 1.528 GB, free: 2.453 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.325e-05/0.6033, allocations: 33.7 kB / 1.528 GB, free: 2.414 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005665/0.6039, allocations: 0.7157 MB / 1.528 GB, free: 1.695 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.604, allocations: 127 kB / 1.528 GB, free: 1.57 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/0.6042, allocations: 166.5 kB / 1.529 GB, free: 1.402 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6044, allocations: 338 kB / 1.529 GB, free: 1.066 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008549/0.6053, allocations: 312.6 kB / 1.529 GB, free: 0.7578 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.6064, allocations: 0.6814 MB / 1.53 GB, free: 15.9 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.608, allocations: 0.9309 MB / 1.531 GB, free: 14.81 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.6081, allocations: 4 kB / 1.531 GB, free: 14.8 MB / 1.264 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002243/0.6103, allocations: 1.063 MB / 1.532 GB, free: 13.73 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.6103, allocations: 8 kB / 1.532 GB, free: 13.73 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.6104, allocations: 12 kB / 1.532 GB, free: 13.71 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.6104, allocations: 16 kB / 1.532 GB, free: 13.7 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007872/0.6112, allocations: 203.9 kB / 1.532 GB, free: 13.5 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.24e-05/0.6112, allocations: 23.92 kB / 1.532 GB, free: 13.48 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.6123, allocations: 179.1 kB / 1.532 GB, free: 13.3 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.118e-05/0.6124, allocations: 44 kB / 1.532 GB, free: 13.26 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001139/0.6136, allocations: 0.5682 MB / 1.533 GB, free: 12.68 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001065/0.6146, allocations: 0.6891 MB / 1.534 GB, free: 11.82 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001659/0.6163, allocations: 0.9218 MB / 1.534 GB, free: 10.74 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.029e-06/0.6163, allocations: 4 kB / 1.534 GB, free: 10.73 MB / 1.264 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002192/0.6185, allocations: 1.066 MB / 1.535 GB, free: 9.66 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.6185, allocations: 12 kB / 1.535 GB, free: 9.648 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.6186, allocations: 12 kB / 1.535 GB, free: 9.637 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.6186, allocations: 16.78 kB / 1.536 GB, free: 9.621 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007439/0.6193, allocations: 207.6 kB / 1.536 GB, free: 9.418 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.143e-05/0.6194, allocations: 23.92 kB / 1.536 GB, free: 9.395 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.6204, allocations: 135.5 kB / 1.536 GB, free: 9.262 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-05/0.6205, allocations: 47.98 kB / 1.536 GB, free: 9.215 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.0002046/0.6207, allocations: 239.9 kB / 1.536 GB, free: 8.973 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.6209, allocations: 151 kB / 1.536 GB, free: 8.824 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.6225, allocations: 0.6288 MB / 1.537 GB, free: 8.184 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.6225, allocations: 11.98 kB / 1.537 GB, free: 8.172 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6225, allocations: 0 / 1.537 GB, free: 8.172 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.6225, allocations: 0 / 1.537 GB, free: 8.172 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003194/0.6257, allocations: 1.9 MB / 1.539 GB, free: 6.164 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.6257, allocations: 7.938 kB / 1.539 GB, free: 6.156 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004541/0.6262, allocations: 91.86 kB / 1.539 GB, free: 6.066 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.6262, allocations: 4 kB / 1.539 GB, free: 6.062 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/0.6263, allocations: 15.98 kB / 1.539 GB, free: 6.047 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.6263, allocations: 8.125 kB / 1.539 GB, free: 6.039 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.6263, allocations: 7.938 kB / 1.539 GB, free: 6.031 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.6277, allocations: 0.8042 MB / 1.54 GB, free: 5.16 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003986/0.6282, allocations: 300 kB / 1.54 GB, free: 4.848 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.6283, allocations: 11.98 kB / 1.54 GB, free: 4.836 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009018/0.6292, allocations: 67.92 kB / 1.54 GB, free: 4.77 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.6293, allocations: 31.84 kB / 1.54 GB, free: 4.738 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/0.6294, allocations: 23.98 kB / 1.54 GB, free: 4.715 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001345/0.6307, allocations: 1.009 MB / 1.541 GB, free: 3.711 MB / 1.264 GB Notification: Performance of sort global known variables: time 2e-07/0.6307, allocations: 0 / 1.541 GB, free: 3.711 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001513/0.6323, allocations: 0.5852 MB / 1.542 GB, free: 3.125 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.002207/0.6345, allocations: 1.541 MB / 1.543 GB, free: 1.523 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002585/0.6371, allocations: 1.121 MB / 1.544 GB, free: 416 kB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6371, allocations: 0 / 1.544 GB, free: 416 kB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006384/0.6377, allocations: 252.9 kB / 1.544 GB, free: 164 kB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4789/1.117, allocations: 0.7325 MB / 1.545 GB, free: 302.6 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01522/1.132, allocations: 9.831 MB / 1.555 GB, free: 298.5 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006107/1.132, allocations: 1.184 MB / 1.556 GB, free: 297.7 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001408/1.134, allocations: 387.3 kB / 1.556 GB, free: 297.7 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005192/1.134, allocations: 499.3 kB / 1.557 GB, free: 297.3 MB / 1.264 GB Notification: Performance of SimCode: time 9.72e-07/1.134, allocations: 1.219 kB / 1.557 GB, free: 297.3 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.111/3.246, allocations: 35.63 MB / 1.592 GB, free: 278 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/18.5, allocations: 7.625 kB / 1.592 GB, free: 278 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=400 --tolerance=1e-06 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.mat","/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