Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.007011/0.007011, allocations: 100.9 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.002045/0.002045, allocations: 192.8 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 2.361/2.361, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.73/2.73, allocations: 482.4 MB / 0.7548 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 63.73 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2687, allocations: 162.2 MB / 1.241 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1828/0.4516, allocations: 171.1 MB / 1.409 GB, free: 13.52 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.006351/0.458, allocations: 4.306 MB / 1.413 GB, free: 9.199 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005242/0.4585, allocations: 23.88 kB / 1.413 GB, free: 9.176 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0009311/0.4595, allocations: 350 kB / 1.413 GB, free: 8.832 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.4621, allocations: 1.225 MB / 1.414 GB, free: 7.602 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.4639, allocations: 0.7937 MB / 1.415 GB, free: 6.812 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002099/0.4661, allocations: 1.689 MB / 1.417 GB, free: 5.121 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008116/0.4669, allocations: 0.566 MB / 1.417 GB, free: 4.551 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.4681, allocations: 0.7356 MB / 1.418 GB, free: 3.812 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.4694, allocations: 0.5471 MB / 1.419 GB, free: 3.266 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.4696, allocations: 64 kB / 1.419 GB, free: 3.203 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.471, allocations: 0.7951 MB / 1.419 GB, free: 2.406 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.4713, allocations: 271.3 kB / 1.42 GB, free: 2.141 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0004399/0.4718, allocations: 406.3 kB / 1.42 GB, free: 1.742 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.4733, allocations: 1.269 MB / 1.421 GB, free: 480 kB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.4733, allocations: 0 / 1.421 GB, free: 480 kB / 1.139 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4733, allocations: 4 kB / 1.421 GB, free: 476 kB / 1.139 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.4734, allocations: 0 / 1.421 GB, free: 476 kB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001734/0.4751, allocations: 1.051 MB / 1.422 GB, free: 15.36 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.4751, allocations: 8.031 kB / 1.422 GB, free: 15.35 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.4753, allocations: 106.5 kB / 1.422 GB, free: 15.24 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009921/0.4763, allocations: 159.4 kB / 1.423 GB, free: 15.08 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008107/0.4771, allocations: 0.5526 MB / 1.423 GB, free: 14.5 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.4771, allocations: 41.31 kB / 1.423 GB, free: 14.46 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-05/0.4772, allocations: 52 kB / 1.423 GB, free: 14.41 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.4783, allocations: 0.6518 MB / 1.424 GB, free: 13.74 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.4784, allocations: 3.984 kB / 1.424 GB, free: 13.73 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.25e-05/0.4784, allocations: 24 kB / 1.424 GB, free: 13.71 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.65e-05/0.4785, allocations: 25.3 kB / 1.424 GB, free: 13.68 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009706/0.4795, allocations: 0.5204 MB / 1.424 GB, free: 13.16 MB / 1.154 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.003254/0.4827, allocations: 2.298 MB / 1.427 GB, free: 10.7 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005357/0.4833, allocations: 258.8 kB / 1.427 GB, free: 10.43 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.4835, allocations: 141.8 kB / 1.427 GB, free: 10.29 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.4836, allocations: 4 kB / 1.427 GB, free: 10.29 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.4836, allocations: 34.56 kB / 1.427 GB, free: 10.25 MB / 1.154 GB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.4836, allocations: 3.938 kB / 1.427 GB, free: 10.24 MB / 1.154 GB Notification: Performance of matching and sorting (n=20): time 0.001676/0.4853, allocations: 0.6708 MB / 1.428 GB, free: 9.523 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.4854, allocations: 81.11 kB / 1.428 GB, free: 9.426 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006722/0.4861, allocations: 0.5613 MB / 1.428 GB, free: 8.855 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.4861, allocations: 29.7 kB / 1.428 GB, free: 8.82 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.4864, allocations: 343.8 kB / 1.429 GB, free: 8.48 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.778e-05/0.4864, allocations: 67.42 kB / 1.429 GB, free: 8.414 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.4866, allocations: 77.91 kB / 1.429 GB, free: 8.332 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4868, allocations: 366.7 kB / 1.429 GB, free: 7.965 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.487, allocations: 128.6 kB / 1.429 GB, free: 7.84 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.4874, allocations: 218.6 kB / 1.429 GB, free: 7.594 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005664/0.4879, allocations: 328.9 kB / 1.43 GB, free: 7.242 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.488, allocations: 0 / 1.43 GB, free: 7.242 MB / 1.154 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009575/0.4889, allocations: 0.4988 MB / 1.43 GB, free: 6.73 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.4889, allocations: 4 kB / 1.43 GB, free: 6.727 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.489, allocations: 4 kB / 1.43 GB, free: 6.723 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003086/0.4893, allocations: 93.75 kB / 1.43 GB, free: 6.625 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/0.4896, allocations: 75.83 kB / 1.43 GB, free: 6.551 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003189/0.4928, allocations: 3.344 MB / 1.434 GB, free: 2.918 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004358/0.4933, allocations: 51.56 kB / 1.434 GB, free: 2.867 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.4933, allocations: 12 kB / 1.434 GB, free: 2.855 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002586/0.4936, allocations: 213.8 kB / 1.434 GB, free: 2.637 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.4937, allocations: 59.67 kB / 1.434 GB, free: 2.578 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.4938, allocations: 56.5 kB / 1.434 GB, free: 2.52 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4938, allocations: 0 / 1.434 GB, free: 2.52 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4938, allocations: 7.938 kB / 1.434 GB, free: 2.512 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007877/0.4946, allocations: 0.5326 MB / 1.435 GB, free: 1.91 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.4959, allocations: 0.9158 MB / 1.436 GB, free: 0.9297 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4959, allocations: 4 kB / 1.436 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.4962, allocations: 43.91 kB / 1.436 GB, free: 0.8828 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002082/0.4964, allocations: 68.86 kB / 1.436 GB, free: 0.8125 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.4964, allocations: 4 kB / 1.436 GB, free: 0.8086 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.4983, allocations: 1.825 MB / 1.437 GB, free: 14.84 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4983, allocations: 0 / 1.437 GB, free: 14.84 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006818/0.499, allocations: 445.6 kB / 1.438 GB, free: 14.38 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.4992, allocations: 168.7 kB / 1.438 GB, free: 14.2 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.319e-05/0.4993, allocations: 7.938 kB / 1.438 GB, free: 14.19 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/0.4997, allocations: 15.98 kB / 1.438 GB, free: 14.17 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/0.4998, allocations: 23.97 kB / 1.438 GB, free: 14.15 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/0.4998, allocations: 15.98 kB / 1.438 GB, free: 14.13 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0004759/0.5003, allocations: 398.8 kB / 1.438 GB, free: 13.75 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5003, allocations: 7.938 kB / 1.438 GB, free: 13.74 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005783/0.5009, allocations: 207.7 kB / 1.439 GB, free: 13.54 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001212/0.5021, allocations: 1.034 MB / 1.44 GB, free: 12.48 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0009056/0.5031, allocations: 0.5283 MB / 1.44 GB, free: 11.93 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5031, allocations: 0.5625 kB / 1.44 GB, free: 11.93 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003959/0.5035, allocations: 266.4 kB / 1.44 GB, free: 11.65 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/0.5052, allocations: 376.5 kB / 1.441 GB, free: 11.3 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006165/0.5114, allocations: 4.458 MB / 1.445 GB, free: 6.672 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/0.5119, allocations: 0.9093 MB / 1.446 GB, free: 5.734 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003735/0.5123, allocations: 108.8 kB / 1.446 GB, free: 5.625 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.5126, allocations: 199.4 kB / 1.446 GB, free: 5.43 MB / 1.17 GB Notification: Performance of SimCode: time 2.6e-07/0.5126, allocations: 0 / 1.446 GB, free: 5.43 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04789/0.5605, allocations: 17.8 MB / 1.464 GB, free: 4.016 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.54, allocations: 4.875 kB / 1.464 GB, free: 4.012 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches