Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 212.3 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.331/1.331, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.872/2.872, allocations: 0.4892 GB / 0.7943 GB, free: 35.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 66.97 kB / 1.153 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2825, allocations: 176.1 MB / 1.325 GB, free: 2.406 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1767/0.4591, allocations: 151 MB / 1.472 GB, free: 10.88 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006462/0.4656, allocations: 4.043 MB / 1.476 GB, free: 6.828 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006096/0.4662, allocations: 31.75 kB / 1.476 GB, free: 6.797 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009402/0.4671, allocations: 334 kB / 1.477 GB, free: 6.469 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002929/0.4701, allocations: 1.276 MB / 1.478 GB, free: 5.188 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.4721, allocations: 0.8102 MB / 1.479 GB, free: 4.383 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002348/0.4744, allocations: 1.723 MB / 1.48 GB, free: 2.652 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007278/0.4752, allocations: 444.3 kB / 1.481 GB, free: 2.211 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.4766, allocations: 0.7863 MB / 1.482 GB, free: 1.422 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.4779, allocations: 0.5625 MB / 1.482 GB, free: 0.8594 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.4781, allocations: 64 kB / 1.482 GB, free: 0.7969 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.4795, allocations: 0.6662 MB / 1.483 GB, free: 132 kB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003387/0.4798, allocations: 279.2 kB / 1.483 GB, free: 15.86 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004295/0.4802, allocations: 338.7 kB / 1.484 GB, free: 15.52 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001787/0.482, allocations: 1.258 MB / 1.485 GB, free: 14.26 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.482, allocations: 0 / 1.485 GB, free: 14.26 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.613e-06/0.482, allocations: 0 / 1.485 GB, free: 14.26 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.482, allocations: 0 / 1.485 GB, free: 14.26 MB / 1.186 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.001848/0.4839, allocations: 0.9835 MB / 1.486 GB, free: 13.24 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.4839, allocations: 8.031 kB / 1.486 GB, free: 13.23 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/0.4841, allocations: 98.52 kB / 1.486 GB, free: 13.13 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009787/0.485, allocations: 171.4 kB / 1.486 GB, free: 12.96 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009637/0.486, allocations: 494.6 kB / 1.486 GB, free: 12.46 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.486, allocations: 37.31 kB / 1.486 GB, free: 12.42 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.753e-05/0.4861, allocations: 52 kB / 1.487 GB, free: 12.37 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.4874, allocations: 1.003 MB / 1.488 GB, free: 11.27 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.4875, allocations: 4 kB / 1.488 GB, free: 11.26 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.086e-05/0.4875, allocations: 20 kB / 1.488 GB, free: 11.24 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.282e-05/0.4876, allocations: 25.3 kB / 1.488 GB, free: 11.21 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009844/0.4885, allocations: 0.5125 MB / 1.488 GB, free: 10.7 MB / 1.186 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.003399/0.4919, allocations: 1.66 MB / 1.49 GB, free: 8.98 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005387/0.4925, allocations: 238.8 kB / 1.49 GB, free: 8.738 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.4927, allocations: 129.1 kB / 1.49 GB, free: 8.609 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.4928, allocations: 7.984 kB / 1.49 GB, free: 8.602 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.4928, allocations: 38.52 kB / 1.49 GB, free: 8.555 MB / 1.186 GB Notification: Performance of pre-optimization done (n=20): time 3.286e-06/0.4928, allocations: 8 kB / 1.49 GB, free: 8.547 MB / 1.186 GB Notification: Performance of matching and sorting (n=20): time 0.001786/0.4946, allocations: 0.5082 MB / 1.491 GB, free: 8.027 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/0.4947, allocations: 85.03 kB / 1.491 GB, free: 7.926 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007938/0.4955, allocations: 0.5613 MB / 1.491 GB, free: 7.355 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.805e-05/0.4955, allocations: 37.7 kB / 1.491 GB, free: 7.312 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/0.4958, allocations: 343.7 kB / 1.492 GB, free: 6.973 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 9.002e-05/0.4959, allocations: 75.31 kB / 1.492 GB, free: 6.898 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.4961, allocations: 69.98 kB / 1.492 GB, free: 6.824 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002086/0.4963, allocations: 362.7 kB / 1.492 GB, free: 6.461 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.4966, allocations: 128.6 kB / 1.492 GB, free: 6.336 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.497, allocations: 256.2 kB / 1.492 GB, free: 6.047 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006018/0.4976, allocations: 328.9 kB / 1.493 GB, free: 5.695 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.4976, allocations: 4 kB / 1.493 GB, free: 5.691 MB / 1.186 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001051/0.4986, allocations: 498.7 kB / 1.493 GB, free: 5.191 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.4986, allocations: 8 kB / 1.493 GB, free: 5.184 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.4986, allocations: 3.938 kB / 1.493 GB, free: 5.18 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003402/0.499, allocations: 101.9 kB / 1.493 GB, free: 5.074 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.4993, allocations: 71.91 kB / 1.493 GB, free: 5.004 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003298/0.5026, allocations: 3.117 MB / 1.496 GB, free: 1.66 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/0.5031, allocations: 55.61 kB / 1.497 GB, free: 1.605 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.5032, allocations: 8.188 kB / 1.497 GB, free: 1.598 MB / 1.186 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.0003555/0.5035, allocations: 221 kB / 1.497 GB, free: 1.375 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.5036, allocations: 59.62 kB / 1.497 GB, free: 1.316 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.884e-05/0.5037, allocations: 56.44 kB / 1.497 GB, free: 1.258 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.5037, allocations: 12.06 kB / 1.497 GB, free: 1.246 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5037, allocations: 3.938 kB / 1.497 GB, free: 1.242 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007734/0.5045, allocations: 0.5202 MB / 1.497 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.5059, allocations: 0.8136 MB / 1.498 GB, free: 15.78 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.5059, allocations: 7.984 kB / 1.498 GB, free: 15.77 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.5061, allocations: 44.05 kB / 1.498 GB, free: 15.73 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000205/0.5063, allocations: 68.73 kB / 1.498 GB, free: 15.66 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.5063, allocations: 4 kB / 1.498 GB, free: 15.66 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/0.5081, allocations: 1.71 MB / 1.5 GB, free: 13.83 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5081, allocations: 192 / 1.5 GB, free: 13.83 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006722/0.5088, allocations: 439.4 kB / 1.5 GB, free: 13.38 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.5091, allocations: 91.58 kB / 1.5 GB, free: 13.29 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.962e-05/0.5091, allocations: 11.94 kB / 1.5 GB, free: 13.28 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/0.5095, allocations: 22.48 kB / 1.5 GB, free: 13.26 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/0.5096, allocations: 23.89 kB / 1.5 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.156e-05/0.5097, allocations: 12.06 kB / 1.501 GB, free: 13.22 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004775/0.5101, allocations: 406.8 kB / 1.501 GB, free: 12.83 MB / 1.201 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5101, allocations: 3.938 kB / 1.501 GB, free: 12.82 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006095/0.5107, allocations: 199.7 kB / 1.501 GB, free: 12.63 MB / 1.201 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.001123/0.5119, allocations: 1.019 MB / 1.502 GB, free: 11.57 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009108/0.5128, allocations: 0.5206 MB / 1.503 GB, free: 11.02 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.5128, allocations: 4 kB / 1.503 GB, free: 11.02 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003813/0.5132, allocations: 255.5 kB / 1.503 GB, free: 10.76 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.5147, allocations: 379.2 kB / 1.503 GB, free: 10.4 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006232/0.521, allocations: 4.462 MB / 1.508 GB, free: 5.773 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.5213, allocations: 310.7 kB / 1.508 GB, free: 5.441 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0004173/0.5217, allocations: 112.8 kB / 1.508 GB, free: 5.328 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.522, allocations: 195.4 kB / 1.508 GB, free: 5.137 MB / 1.201 GB Notification: Performance of SimCode: time 6.61e-07/0.522, allocations: 4 kB / 1.508 GB, free: 5.133 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05809/0.5801, allocations: 19.52 MB / 1.527 GB, free: 2.094 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.81, allocations: 4.328 kB / 1.527 GB, free: 2.094 MB / 1.217 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.7571295411326]