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.008102/0.008102, allocations: 96.7 kB / 15.73 MB, free: 6.043 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.001888/0.001888, allocations: 196.2 kB / 16.67 MB, free: 5.969 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.623/2.623, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.89 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.254, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.7768/1.031, allocations: 237.6 MB / 1.398 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02035/1.051, allocations: 15.79 MB / 1.414 GB, free: 2.238 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00209/1.053, allocations: 60.66 kB / 1.414 GB, free: 2.215 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00273/1.056, allocations: 1.08 MB / 1.415 GB, free: 1.328 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007357/1.063, allocations: 3.104 MB / 1.418 GB, free: 14.95 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003981/1.067, allocations: 1.69 MB / 1.419 GB, free: 13.69 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00431/1.072, allocations: 3.45 MB / 1.423 GB, free: 11.7 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/1.074, allocations: 1.283 MB / 1.424 GB, free: 10.88 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005611/1.079, allocations: 2.579 MB / 1.427 GB, free: 9.25 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002019/1.081, allocations: 1.085 MB / 1.428 GB, free: 8.613 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002769/1.082, allocations: 118.5 kB / 1.428 GB, free: 8.613 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005498/1.087, allocations: 3.102 MB / 1.431 GB, free: 5.887 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005815/1.088, allocations: 474.5 kB / 1.431 GB, free: 5.422 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001186/1.089, allocations: 0.8046 MB / 1.432 GB, free: 4.613 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005105/1.094, allocations: 2.982 MB / 1.435 GB, free: 1.621 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.094, allocations: 8 kB / 1.435 GB, free: 1.613 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.623e-06/1.094, allocations: 0 / 1.435 GB, free: 1.613 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.236e-05/1.094, allocations: 0 / 1.435 GB, free: 1.613 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.003798/1.098, allocations: 2.06 MB / 1.437 GB, free: 15.49 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/1.098, allocations: 12.03 kB / 1.437 GB, free: 15.48 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001836/1.098, allocations: 152.2 kB / 1.437 GB, free: 15.32 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002728/1.101, allocations: 0.5101 MB / 1.438 GB, free: 14.81 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/1.103, allocations: 1.181 MB / 1.439 GB, free: 13.58 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.232e-05/1.103, allocations: 81.98 kB / 1.439 GB, free: 13.5 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/1.103, allocations: 96 kB / 1.439 GB, free: 13.4 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/1.106, allocations: 1.346 MB / 1.44 GB, free: 11.94 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/1.106, allocations: 7.938 kB / 1.44 GB, free: 11.93 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-05/1.106, allocations: 44 kB / 1.44 GB, free: 11.89 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-05/1.106, allocations: 45.98 kB / 1.44 GB, free: 11.84 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/1.108, allocations: 1.05 MB / 1.441 GB, free: 10.79 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.007638/1.116, allocations: 7.4 MB / 1.449 GB, free: 2.918 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/1.117, allocations: 0.533 MB / 1.449 GB, free: 2.379 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006179/1.118, allocations: 265.2 kB / 1.449 GB, free: 2.117 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003759/1.119, allocations: 291.5 kB / 1.45 GB, free: 1.777 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/1.119, allocations: 42.78 kB / 1.45 GB, free: 1.727 MB / 1.107 GB Notification: Performance of pre-optimization done (n=33): time 2.185e-06/1.119, allocations: 0 / 1.45 GB, free: 1.727 MB / 1.107 GB Notification: Performance of matching and sorting (n=33): time 0.002328/1.121, allocations: 0.8446 MB / 1.45 GB, free: 0.875 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/1.121, allocations: 59.41 kB / 1.45 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/1.123, allocations: 1.391 MB / 1.452 GB, free: 15.4 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.867e-05/1.123, allocations: 33.7 kB / 1.452 GB, free: 15.36 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005417/1.123, allocations: 0.7157 MB / 1.453 GB, free: 14.64 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/1.124, allocations: 123 kB / 1.453 GB, free: 14.52 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/1.124, allocations: 170.5 kB / 1.453 GB, free: 14.35 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.124, allocations: 334 kB / 1.453 GB, free: 14.02 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008203/1.125, allocations: 312.6 kB / 1.453 GB, free: 13.71 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/1.126, allocations: 0.6891 MB / 1.454 GB, free: 12.84 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/1.128, allocations: 0.9303 MB / 1.455 GB, free: 11.75 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/1.128, allocations: 4 kB / 1.455 GB, free: 11.75 MB / 1.123 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002279/1.13, allocations: 1.059 MB / 1.456 GB, free: 10.68 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.13, allocations: 8 kB / 1.456 GB, free: 10.68 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/1.13, allocations: 15.98 kB / 1.456 GB, free: 10.66 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/1.13, allocations: 19.98 kB / 1.456 GB, free: 10.64 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008138/1.131, allocations: 207.9 kB / 1.456 GB, free: 10.44 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/1.131, allocations: 23.92 kB / 1.456 GB, free: 10.41 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/1.132, allocations: 179 kB / 1.457 GB, free: 10.24 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.922e-05/1.132, allocations: 39.98 kB / 1.457 GB, free: 10.2 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00114/1.133, allocations: 0.576 MB / 1.457 GB, free: 9.621 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001051/1.134, allocations: 0.6852 MB / 1.458 GB, free: 8.758 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001664/1.136, allocations: 0.9255 MB / 1.459 GB, free: 7.672 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.892e-06/1.136, allocations: 4 kB / 1.459 GB, free: 7.668 MB / 1.123 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002224/1.138, allocations: 1.047 MB / 1.46 GB, free: 6.613 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/1.138, allocations: 19.92 kB / 1.46 GB, free: 6.594 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/1.138, allocations: 12 kB / 1.46 GB, free: 6.582 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/1.138, allocations: 16.81 kB / 1.46 GB, free: 6.566 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007759/1.139, allocations: 203.6 kB / 1.46 GB, free: 6.367 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.985e-05/1.139, allocations: 23.92 kB / 1.46 GB, free: 6.344 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/1.14, allocations: 139.5 kB / 1.46 GB, free: 6.207 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.952e-05/1.14, allocations: 39.98 kB / 1.46 GB, free: 6.168 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.0002004/1.141, allocations: 232 kB / 1.46 GB, free: 5.934 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/1.141, allocations: 151 kB / 1.461 GB, free: 5.785 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/1.142, allocations: 0.6442 MB / 1.461 GB, free: 5.129 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/1.142, allocations: 8 kB / 1.461 GB, free: 5.121 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.142, allocations: 0 / 1.461 GB, free: 5.121 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.142, allocations: 3.984 kB / 1.461 GB, free: 5.117 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003413/1.146, allocations: 1.888 MB / 1.463 GB, free: 3.121 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/1.146, allocations: 4 kB / 1.463 GB, free: 3.117 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004684/1.146, allocations: 95.8 kB / 1.463 GB, free: 3.023 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.926e-06/1.146, allocations: 4 kB / 1.463 GB, free: 3.02 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/1.146, allocations: 16.09 kB / 1.463 GB, free: 3.004 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/1.146, allocations: 11.98 kB / 1.463 GB, free: 2.992 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.146, allocations: 4 kB / 1.463 GB, free: 2.988 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/1.148, allocations: 0.8045 MB / 1.464 GB, free: 2.117 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005056/1.148, allocations: 307.9 kB / 1.464 GB, free: 1.797 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/1.149, allocations: 15.94 kB / 1.464 GB, free: 1.781 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009814/1.15, allocations: 67.92 kB / 1.464 GB, free: 1.715 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.192e-05/1.15, allocations: 31.89 kB / 1.464 GB, free: 1.684 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/1.15, allocations: 23.98 kB / 1.464 GB, free: 1.66 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001397/1.151, allocations: 1.005 MB / 1.465 GB, free: 0.6602 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.433e-06/1.151, allocations: 4 kB / 1.465 GB, free: 0.6562 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001649/1.153, allocations: 0.5774 MB / 1.466 GB, free: 80 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.002167/1.155, allocations: 1.525 MB / 1.467 GB, free: 14.49 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002668/1.158, allocations: 1.129 MB / 1.469 GB, free: 13.36 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.158, allocations: 0 / 1.469 GB, free: 13.36 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006437/1.158, allocations: 248.9 kB / 1.469 GB, free: 13.12 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003188/1.162, allocations: 0.7468 MB / 1.469 GB, free: 12.38 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/1.178, allocations: 9.852 MB / 1.479 GB, free: 1.984 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009295/1.179, allocations: 1.182 MB / 1.48 GB, free: 0.7734 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001354/1.18, allocations: 387.8 kB / 1.481 GB, free: 400 kB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000688/1.181, allocations: 0.4915 MB / 1.481 GB, free: 15.89 MB / 1.154 GB Notification: Performance of SimCode: time 7.91e-07/1.181, allocations: 4 kB / 1.481 GB, free: 15.89 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06636/1.247, allocations: 35.6 MB / 1.516 GB, free: 12.75 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.952/11.2, allocations: 4 kB / 1.516 GB, free: 12.75 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