Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_9_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.001235/0.001235, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001312/0.001312, allocations: 189.8 kB / 16.25 MB, free: 6.637 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.159/1.159, allocations: 222.9 MB / 239.9 MB, free: 4.512 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 1.987/1.987, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 59.91 kB / 0.8121 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4473/0.4485, allocations: 140.4 MB / 0.9492 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1342/0.5826, allocations: 168.8 MB / 1.114 GB, free: 8.645 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004921/0.5876, allocations: 4.268 MB / 1.118 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000502/0.5881, allocations: 19.88 kB / 1.118 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007545/0.5889, allocations: 314.5 kB / 1.119 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002061/0.591, allocations: 1.148 MB / 1.12 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.5924, allocations: 0.7341 MB / 1.12 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001537/0.594, allocations: 1.691 MB / 1.122 GB, free: 464 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005991/0.5946, allocations: 0.5503 MB / 1.123 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00089/0.5955, allocations: 0.681 MB / 1.123 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009671/0.5965, allocations: 0.5955 MB / 1.124 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.484e-05/0.5966, allocations: 68 kB / 1.124 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.5976, allocations: 0.8378 MB / 1.125 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.5979, allocations: 271.3 kB / 1.125 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003456/0.5982, allocations: 406.3 kB / 1.125 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.5994, allocations: 1.313 MB / 1.127 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.624e-06/0.5994, allocations: 0 / 1.127 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5994, allocations: 0 / 1.127 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.5994, allocations: 0 / 1.127 GB, free: 11.74 MB / 0.8887 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.001411/0.6008, allocations: 1.036 MB / 1.128 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.6009, allocations: 12.03 kB / 1.128 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.937e-05/0.601, allocations: 98.5 kB / 1.128 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008768/0.6019, allocations: 171 kB / 1.128 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005872/0.6025, allocations: 0.5133 MB / 1.128 GB, free: 9.812 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.6025, allocations: 45.25 kB / 1.128 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.814e-05/0.6026, allocations: 48 kB / 1.128 GB, free: 9.719 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009038/0.6035, allocations: 0.6519 MB / 1.129 GB, free: 9.051 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.6035, allocations: 0 / 1.129 GB, free: 9.051 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.061e-05/0.6036, allocations: 27.94 kB / 1.129 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.762e-05/0.6036, allocations: 25.3 kB / 1.129 GB, free: 9 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007661/0.6044, allocations: 0.5087 MB / 1.13 GB, free: 8.488 MB / 0.8887 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.002547/0.6069, allocations: 2.316 MB / 1.132 GB, free: 6.004 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/0.6073, allocations: 250.8 kB / 1.132 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.6076, allocations: 142.5 kB / 1.132 GB, free: 5.609 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.6076, allocations: 4 kB / 1.132 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.6076, allocations: 42.55 kB / 1.132 GB, free: 5.555 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=20): time 1.102e-06/0.6076, allocations: 0 / 1.132 GB, free: 5.555 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20): time 0.001345/0.609, allocations: 0.6668 MB / 1.133 GB, free: 4.84 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.609, allocations: 81.11 kB / 1.133 GB, free: 4.742 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004854/0.6095, allocations: 0.5574 MB / 1.134 GB, free: 4.176 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.6096, allocations: 29.7 kB / 1.134 GB, free: 4.141 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.6097, allocations: 339.1 kB / 1.134 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.6098, allocations: 71 kB / 1.134 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.442e-05/0.6099, allocations: 69.94 kB / 1.134 GB, free: 3.656 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.61, allocations: 362.7 kB / 1.134 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.6102, allocations: 132.6 kB / 1.135 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.6105, allocations: 214.6 kB / 1.135 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/0.6109, allocations: 340.8 kB / 1.135 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6109, allocations: 0 / 1.135 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007438/0.6117, allocations: 494.4 kB / 1.136 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.6117, allocations: 8 kB / 1.136 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.6117, allocations: 3.938 kB / 1.136 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000265/0.612, allocations: 105.9 kB / 1.136 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.6123, allocations: 63.91 kB / 1.136 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.6146, allocations: 3.355 MB / 1.139 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.615, allocations: 59.36 kB / 1.139 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.6151, allocations: 19.98 kB / 1.139 GB, free: 14.16 MB / 0.9044 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.0001937/0.6153, allocations: 213.7 kB / 1.139 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.243e-05/0.6154, allocations: 55.34 kB / 1.139 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.753e-05/0.6154, allocations: 56.5 kB / 1.139 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.6155, allocations: 4 kB / 1.139 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.6155, allocations: 3.938 kB / 1.139 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005917/0.6161, allocations: 0.5275 MB / 1.14 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.6171, allocations: 0.9237 MB / 1.141 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6171, allocations: 0 / 1.141 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.6173, allocations: 35.98 kB / 1.141 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001736/0.6175, allocations: 76.98 kB / 1.141 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.6175, allocations: 8 kB / 1.141 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/0.6188, allocations: 1.817 MB / 1.143 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6188, allocations: 4.031 kB / 1.143 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005144/0.6194, allocations: 434.9 kB / 1.143 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.6195, allocations: 168.4 kB / 1.143 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.458e-05/0.6196, allocations: 7.922 kB / 1.143 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004177/0.62, allocations: 35.89 kB / 1.143 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.6201, allocations: 23.91 kB / 1.143 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.6201, allocations: 16.17 kB / 1.143 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003541/0.6205, allocations: 398.8 kB / 1.144 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6205, allocations: 0 / 1.144 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005139/0.621, allocations: 207.6 kB / 1.144 GB, free: 8.855 MB / 0.9044 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.0009121/0.6219, allocations: 1.052 MB / 1.145 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007162/0.6227, allocations: 0.5361 MB / 1.146 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6227, allocations: 3.938 kB / 1.146 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002968/0.623, allocations: 258.5 kB / 1.146 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.6243, allocations: 359.5 kB / 1.146 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005024/0.6294, allocations: 4.725 MB / 1.151 GB, free: 1.719 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.6297, allocations: 0.9132 MB / 1.152 GB, free: 0.7773 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003722/0.6301, allocations: 112.8 kB / 1.152 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.6303, allocations: 199.4 kB / 1.152 GB, free: 484 kB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/0.6303, allocations: 0 / 1.152 GB, free: 484 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.086/5.716, allocations: 17.41 MB / 1.169 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/5.717, allocations: 288.9 kB / 1.169 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/8.147, allocations: 3 kB / 1.169 GB, free: 15.09 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches