Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_9_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.008249/0.008249, allocations: 100.5 kB / 15.73 MB, free: 6 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.001966/0.001966, allocations: 191.4 kB / 16.67 MB, free: 5.926 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.324/2.324, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 65.86 kB / 0.9504 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2368, allocations: 140.4 MB / 1.087 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.77/1.007, allocations: 237.6 MB / 1.319 GB, free: 2.688 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01771/1.025, allocations: 15.78 MB / 1.335 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002212/1.027, allocations: 64.19 kB / 1.335 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002246/1.029, allocations: 1.037 MB / 1.336 GB, free: 2.316 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006591/1.036, allocations: 2.979 MB / 1.339 GB, free: 2.195 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003822/1.04, allocations: 1.68 MB / 1.341 GB, free: 2.141 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004008/1.044, allocations: 3.435 MB / 1.344 GB, free: 2.07 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/1.045, allocations: 1.288 MB / 1.345 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005459/1.051, allocations: 2.493 MB / 1.348 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/1.052, allocations: 1.088 MB / 1.349 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001625/1.053, allocations: 117.5 kB / 1.349 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005271/1.058, allocations: 3.103 MB / 1.352 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000389/1.058, allocations: 474.8 kB / 1.352 GB, free: 348 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008295/1.059, allocations: 0.8081 MB / 1.353 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004533/1.064, allocations: 2.971 MB / 1.356 GB, free: 14.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/1.064, allocations: 0 / 1.356 GB, free: 14.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/1.064, allocations: 0 / 1.356 GB, free: 14.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.099e-05/1.064, allocations: 0 / 1.356 GB, free: 14.98 MB / 1.029 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.003602/1.067, allocations: 2 MB / 1.358 GB, free: 13.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/1.067, allocations: 9.375 kB / 1.358 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/1.068, allocations: 162.2 kB / 1.358 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002699/1.07, allocations: 0.4995 MB / 1.359 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00222/1.072, allocations: 1.159 MB / 1.36 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.744e-05/1.073, allocations: 79.38 kB / 1.36 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/1.073, allocations: 99.77 kB / 1.36 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/1.075, allocations: 1.353 MB / 1.361 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/1.075, allocations: 9.062 kB / 1.361 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.856e-05/1.075, allocations: 44.88 kB / 1.361 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.462e-05/1.075, allocations: 42.47 kB / 1.361 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/1.077, allocations: 1.052 MB / 1.362 GB, free: 11.7 MB / 1.029 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.007566/1.085, allocations: 7.39 MB / 1.369 GB, free: 5.801 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/1.087, allocations: 0.5379 MB / 1.37 GB, free: 5.641 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006159/1.087, allocations: 258.8 kB / 1.37 GB, free: 5.566 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003636/1.088, allocations: 283.6 kB / 1.371 GB, free: 5.281 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/1.088, allocations: 41.25 kB / 1.371 GB, free: 5.234 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 2.434e-06/1.088, allocations: 0 / 1.371 GB, free: 5.234 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.002403/1.09, allocations: 0.8354 MB / 1.371 GB, free: 4.957 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/1.09, allocations: 54.31 kB / 1.371 GB, free: 4.895 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002008/1.092, allocations: 1.394 MB / 1.373 GB, free: 4.359 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.969e-05/1.092, allocations: 35.92 kB / 1.373 GB, free: 4.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005156/1.093, allocations: 0.7014 MB / 1.373 GB, free: 3.766 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/1.093, allocations: 124 kB / 1.374 GB, free: 3.672 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/1.093, allocations: 170.8 kB / 1.374 GB, free: 3.586 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1.093, allocations: 334.3 kB / 1.374 GB, free: 3.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008097/1.094, allocations: 315.7 kB / 1.374 GB, free: 3.176 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/1.095, allocations: 0.691 MB / 1.375 GB, free: 2.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/1.097, allocations: 0.926 MB / 1.376 GB, free: 1.969 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/1.097, allocations: 2.25 kB / 1.376 GB, free: 1.969 MB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002347/1.099, allocations: 1.054 MB / 1.377 GB, free: 1.645 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.099, allocations: 8.062 kB / 1.377 GB, free: 1.645 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/1.099, allocations: 14.41 kB / 1.377 GB, free: 1.645 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/1.099, allocations: 19.47 kB / 1.377 GB, free: 1.641 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008184/1.1, allocations: 205.9 kB / 1.377 GB, free: 1.629 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.367e-05/1.1, allocations: 24.34 kB / 1.377 GB, free: 1.629 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/1.101, allocations: 182.6 kB / 1.377 GB, free: 1.547 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.557e-05/1.102, allocations: 41.41 kB / 1.377 GB, free: 1.543 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001181/1.103, allocations: 0.5657 MB / 1.378 GB, free: 1.281 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001027/1.104, allocations: 0.691 MB / 1.379 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001655/1.105, allocations: 0.9256 MB / 1.38 GB, free: 76 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.113e-06/1.106, allocations: 2.094 kB / 1.38 GB, free: 76 kB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002322/1.108, allocations: 1.05 MB / 1.381 GB, free: 15.75 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/1.108, allocations: 10.12 kB / 1.381 GB, free: 15.75 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/1.108, allocations: 11.06 kB / 1.381 GB, free: 15.75 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/1.108, allocations: 16.94 kB / 1.381 GB, free: 15.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008069/1.109, allocations: 210.5 kB / 1.381 GB, free: 15.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-05/1.109, allocations: 24.16 kB / 1.381 GB, free: 15.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/1.11, allocations: 126.5 kB / 1.381 GB, free: 15.7 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.607e-05/1.11, allocations: 40.62 kB / 1.381 GB, free: 15.7 MB / 1.045 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.00024/1.11, allocations: 234.7 kB / 1.381 GB, free: 15.49 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000268/1.111, allocations: 145.1 kB / 1.381 GB, free: 15.41 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/1.112, allocations: 0.651 MB / 1.382 GB, free: 15.16 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/1.112, allocations: 4.875 kB / 1.382 GB, free: 15.16 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/1.112, allocations: 0 / 1.382 GB, free: 15.16 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/1.112, allocations: 1.969 kB / 1.382 GB, free: 15.16 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003615/1.116, allocations: 1.896 MB / 1.384 GB, free: 14.04 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.116, allocations: 2.594 kB / 1.384 GB, free: 14.04 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/1.117, allocations: 99.58 kB / 1.384 GB, free: 14.01 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/1.117, allocations: 3.188 kB / 1.384 GB, free: 14.01 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/1.117, allocations: 14.92 kB / 1.384 GB, free: 14 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/1.117, allocations: 12.81 kB / 1.384 GB, free: 14 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.117, allocations: 4.344 kB / 1.384 GB, free: 14 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/1.118, allocations: 0.7981 MB / 1.385 GB, free: 13.44 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005633/1.119, allocations: 292.7 kB / 1.385 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002745/1.119, allocations: 17.8 kB / 1.385 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/1.12, allocations: 71.67 kB / 1.385 GB, free: 13.15 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/1.12, allocations: 39.75 kB / 1.385 GB, free: 13.13 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/1.12, allocations: 19.48 kB / 1.385 GB, free: 13.12 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001469/1.122, allocations: 1.008 MB / 1.386 GB, free: 12.58 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.41e-07/1.122, allocations: 3.938 kB / 1.386 GB, free: 12.58 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001833/1.124, allocations: 0.5775 MB / 1.387 GB, free: 12.5 MB / 1.045 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.002279/1.126, allocations: 1.497 MB / 1.388 GB, free: 11.36 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002735/1.129, allocations: 1.123 MB / 1.389 GB, free: 10.93 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.129, allocations: 0.9375 kB / 1.389 GB, free: 10.93 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006459/1.129, allocations: 253.3 kB / 1.39 GB, free: 10.83 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003358/1.133, allocations: 0.7477 MB / 1.39 GB, free: 10.42 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01724/1.15, allocations: 9.791 MB / 1.4 GB, free: 4.312 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000768/1.151, allocations: 1.184 MB / 1.401 GB, free: 3.375 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.00143/1.152, allocations: 385.1 kB / 1.401 GB, free: 3.191 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006511/1.153, allocations: 0.4902 MB / 1.402 GB, free: 2.789 MB / 1.045 GB Notification: Performance of SimCode: time 8.42e-07/1.153, allocations: 0 / 1.402 GB, free: 2.789 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06435/1.217, allocations: 35.61 MB / 1.437 GB, free: 0.5469 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.707/10.92, allocations: 7.094 kB / 1.437 GB, free: 0.543 MB / 1.076 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches