Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_11_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.00546/0.00546, allocations: 101.7 kB / 15.73 MB, free: 6.055 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.001303/0.001303, allocations: 191.5 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.74/2.74, allocations: 469.8 MB / 0.7425 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 71.83 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7091/0.711, allocations: 159.1 MB / 1.22 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2636/0.9746, allocations: 237.6 MB / 1.452 GB, free: 3.52 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02433/0.999, allocations: 15.79 MB / 1.468 GB, free: 3.684 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001945/1.001, allocations: 59.62 kB / 1.468 GB, free: 3.625 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002837/1.004, allocations: 1.037 MB / 1.469 GB, free: 2.582 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.007886/1.012, allocations: 2.977 MB / 1.472 GB, free: 15.59 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004636/1.016, allocations: 1.685 MB / 1.473 GB, free: 13.92 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005568/1.022, allocations: 3.434 MB / 1.477 GB, free: 10.47 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002325/1.024, allocations: 1.287 MB / 1.478 GB, free: 9.145 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006674/1.031, allocations: 2.496 MB / 1.48 GB, free: 6.652 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002726/1.034, allocations: 1.085 MB / 1.481 GB, free: 5.574 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004579/1.034, allocations: 116 kB / 1.481 GB, free: 5.461 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006717/1.041, allocations: 3.098 MB / 1.484 GB, free: 2.355 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0008103/1.042, allocations: 478.4 kB / 1.485 GB, free: 1.887 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001621/1.043, allocations: 0.8085 MB / 1.486 GB, free: 1.074 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.006689/1.05, allocations: 2.978 MB / 1.489 GB, free: 14.09 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.05, allocations: 0 / 1.489 GB, free: 14.09 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.064e-06/1.05, allocations: 4 kB / 1.489 GB, free: 14.08 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.725e-05/1.05, allocations: 0 / 1.489 GB, free: 14.08 MB / 1.217 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.004706/1.055, allocations: 2.068 MB / 1.491 GB, free: 11.95 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/1.055, allocations: 8.625 kB / 1.491 GB, free: 11.95 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002802/1.055, allocations: 156.2 kB / 1.491 GB, free: 11.79 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003043/1.058, allocations: 0.4985 MB / 1.491 GB, free: 11.29 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00269/1.061, allocations: 1.181 MB / 1.492 GB, free: 10.05 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/1.061, allocations: 81.98 kB / 1.492 GB, free: 9.969 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/1.061, allocations: 96 kB / 1.493 GB, free: 9.875 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002788/1.064, allocations: 1.35 MB / 1.494 GB, free: 8.406 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/1.064, allocations: 7.938 kB / 1.494 GB, free: 8.398 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/1.064, allocations: 47.98 kB / 1.494 GB, free: 8.352 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.248e-05/1.064, allocations: 41.98 kB / 1.494 GB, free: 8.309 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002781/1.067, allocations: 1.054 MB / 1.495 GB, free: 7.254 MB / 1.217 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.009452/1.077, allocations: 7.4 MB / 1.502 GB, free: 15.37 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/1.078, allocations: 0.5445 MB / 1.503 GB, free: 14.82 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007858/1.079, allocations: 261.2 kB / 1.503 GB, free: 14.56 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004517/1.08, allocations: 287.6 kB / 1.503 GB, free: 14.22 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/1.08, allocations: 38.84 kB / 1.503 GB, free: 14.18 MB / 1.232 GB Notification: Performance of pre-optimization done (n=33): time 1.874e-06/1.08, allocations: 0 / 1.503 GB, free: 14.18 MB / 1.232 GB Notification: Performance of matching and sorting (n=33): time 0.002647/1.082, allocations: 0.8454 MB / 1.504 GB, free: 13.32 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/1.082, allocations: 55.41 kB / 1.504 GB, free: 13.26 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002234/1.085, allocations: 1.391 MB / 1.506 GB, free: 11.86 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 8.421e-05/1.085, allocations: 37.7 kB / 1.506 GB, free: 11.81 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006993/1.085, allocations: 0.7156 MB / 1.506 GB, free: 11.1 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/1.086, allocations: 130.9 kB / 1.506 GB, free: 10.97 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003452/1.086, allocations: 166.5 kB / 1.507 GB, free: 10.8 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002251/1.086, allocations: 341.9 kB / 1.507 GB, free: 10.46 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009677/1.087, allocations: 308.6 kB / 1.507 GB, free: 10.16 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/1.088, allocations: 0.6852 MB / 1.508 GB, free: 9.301 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001989/1.09, allocations: 0.9386 MB / 1.509 GB, free: 8.203 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/1.09, allocations: 8 kB / 1.509 GB, free: 8.195 MB / 1.232 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002738/1.093, allocations: 1.055 MB / 1.51 GB, free: 7.133 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/1.093, allocations: 12 kB / 1.51 GB, free: 7.121 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/1.093, allocations: 8 kB / 1.51 GB, free: 7.113 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/1.093, allocations: 16 kB / 1.51 GB, free: 7.098 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009453/1.094, allocations: 207.7 kB / 1.51 GB, free: 6.895 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.517e-05/1.094, allocations: 23.88 kB / 1.51 GB, free: 6.871 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/1.096, allocations: 183 kB / 1.51 GB, free: 6.691 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.194e-05/1.096, allocations: 47.98 kB / 1.51 GB, free: 6.645 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001349/1.097, allocations: 0.5604 MB / 1.511 GB, free: 6.082 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001293/1.099, allocations: 0.6853 MB / 1.512 GB, free: 5.219 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001943/1.1, allocations: 0.9373 MB / 1.512 GB, free: 4.121 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.661e-06/1.101, allocations: 0 / 1.512 GB, free: 4.121 MB / 1.232 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002695/1.103, allocations: 1.051 MB / 1.513 GB, free: 3.062 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.103, allocations: 8 kB / 1.513 GB, free: 3.055 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/1.103, allocations: 12 kB / 1.514 GB, free: 3.043 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/1.103, allocations: 16 kB / 1.514 GB, free: 3.027 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008592/1.104, allocations: 208.3 kB / 1.514 GB, free: 2.824 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.342e-05/1.104, allocations: 23.88 kB / 1.514 GB, free: 2.801 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/1.106, allocations: 135.5 kB / 1.514 GB, free: 2.668 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.128e-05/1.106, allocations: 43.98 kB / 1.514 GB, free: 2.625 MB / 1.232 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.0002605/1.106, allocations: 239.9 kB / 1.514 GB, free: 2.383 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002951/1.106, allocations: 155 kB / 1.514 GB, free: 2.23 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/1.108, allocations: 0.6326 MB / 1.515 GB, free: 1.582 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/1.108, allocations: 4 kB / 1.515 GB, free: 1.578 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/1.108, allocations: 0 / 1.515 GB, free: 1.578 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/1.108, allocations: 4 kB / 1.515 GB, free: 1.574 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003988/1.112, allocations: 1.885 MB / 1.517 GB, free: 15.58 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/1.112, allocations: 12 kB / 1.517 GB, free: 15.57 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005237/1.113, allocations: 95.8 kB / 1.517 GB, free: 15.47 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/1.113, allocations: 11.98 kB / 1.517 GB, free: 15.46 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/1.113, allocations: 8 kB / 1.517 GB, free: 15.45 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/1.113, allocations: 11.94 kB / 1.517 GB, free: 15.44 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.113, allocations: 8 kB / 1.517 GB, free: 15.43 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/1.114, allocations: 0.8003 MB / 1.518 GB, free: 14.57 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005349/1.115, allocations: 307.9 kB / 1.518 GB, free: 14.25 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002292/1.115, allocations: 15.94 kB / 1.518 GB, free: 14.23 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/1.116, allocations: 75.92 kB / 1.518 GB, free: 14.16 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.95e-05/1.116, allocations: 31.84 kB / 1.518 GB, free: 14.12 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-05/1.116, allocations: 23.97 kB / 1.518 GB, free: 14.1 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001671/1.118, allocations: 1.009 MB / 1.519 GB, free: 13.1 MB / 1.248 GB Notification: Performance of sort global known variables: time 3.01e-07/1.118, allocations: 0 / 1.519 GB, free: 13.1 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001888/1.12, allocations: 0.5775 MB / 1.52 GB, free: 12.52 MB / 1.248 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.002557/1.123, allocations: 1.521 MB / 1.521 GB, free: 10.94 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003055/1.126, allocations: 1.129 MB / 1.522 GB, free: 9.816 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.126, allocations: 0 / 1.522 GB, free: 9.816 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0007349/1.126, allocations: 256.5 kB / 1.522 GB, free: 9.566 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00362/1.13, allocations: 0.7342 MB / 1.523 GB, free: 8.832 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01851/1.149, allocations: 9.832 MB / 1.533 GB, free: 14.46 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/1.15, allocations: 1.182 MB / 1.534 GB, free: 13.25 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001549/1.151, allocations: 383.8 kB / 1.534 GB, free: 12.87 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007607/1.152, allocations: 0.4915 MB / 1.535 GB, free: 12.38 MB / 1.264 GB Notification: Performance of SimCode: time 1.323e-06/1.152, allocations: 3.938 kB / 1.535 GB, free: 12.38 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6159/1.768, allocations: 35.6 MB / 1.57 GB, free: 336.6 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/12.33, allocations: 10.2 kB / 1.57 GB, free: 336.6 MB / 1.279 GB (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example4.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example4_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches