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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001806/0.001806, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002318/0.002318, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.329/1.329, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.552/2.552, allocations: 461.9 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.25 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2949, allocations: 157.4 MB / 1.052 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1717/0.4666, allocations: 168.8 MB / 1.217 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006051/0.4727, allocations: 4.367 MB / 1.221 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005492/0.4733, allocations: 19.88 kB / 1.221 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009477/0.4743, allocations: 298.5 kB / 1.222 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002424/0.4767, allocations: 1.152 MB / 1.223 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.4785, allocations: 0.7223 MB / 1.223 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002153/0.4806, allocations: 2.362 MB / 1.226 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006243/0.4813, allocations: 487.1 kB / 1.226 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009258/0.4822, allocations: 0.5951 MB / 1.227 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.4833, allocations: 0.5657 MB / 1.227 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.634e-05/0.4834, allocations: 32 kB / 1.227 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.4848, allocations: 0.9117 MB / 1.228 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002464/0.4851, allocations: 247.2 kB / 1.229 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003578/0.4855, allocations: 370.3 kB / 1.229 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.4868, allocations: 1.285 MB / 1.23 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4868, allocations: 0 / 1.23 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4868, allocations: 0 / 1.23 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.4868, allocations: 4 kB / 1.23 GB, free: 1.395 MB / 0.9825 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.001695/0.4885, allocations: 1.036 MB / 1.231 GB, free: 312 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.4886, allocations: 16.03 kB / 1.231 GB, free: 296 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/0.4887, allocations: 94.52 kB / 1.231 GB, free: 192 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009617/0.4897, allocations: 159 kB / 1.231 GB, free: 32 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007194/0.4904, allocations: 0.521 MB / 1.232 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.4905, allocations: 49.25 kB / 1.232 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.334e-05/0.4905, allocations: 52 kB / 1.232 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.4916, allocations: 0.644 MB / 1.233 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4916, allocations: 4 kB / 1.233 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.689e-05/0.4916, allocations: 24 kB / 1.233 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.382e-05/0.4917, allocations: 21.31 kB / 1.233 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008762/0.4926, allocations: 0.5242 MB / 1.233 GB, free: 14.14 MB / 0.9981 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.003044/0.4956, allocations: 2.301 MB / 1.235 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004877/0.4961, allocations: 250.8 kB / 1.236 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.4964, allocations: 146.9 kB / 1.236 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.4964, allocations: 4 kB / 1.236 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.4964, allocations: 38.56 kB / 1.236 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.4964, allocations: 3.938 kB / 1.236 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001569/0.498, allocations: 0.6623 MB / 1.237 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.4981, allocations: 81.11 kB / 1.237 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006075/0.4987, allocations: 0.5535 MB / 1.237 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.4987, allocations: 41.69 kB / 1.237 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.499, allocations: 327.1 kB / 1.237 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.261e-05/0.499, allocations: 74.94 kB / 1.238 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.4992, allocations: 73.92 kB / 1.238 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.4993, allocations: 358.7 kB / 1.238 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.4996, allocations: 132.6 kB / 1.238 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.4999, allocations: 218.6 kB / 1.238 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005153/0.5004, allocations: 344.8 kB / 1.239 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5004, allocations: 4 kB / 1.239 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008542/0.5013, allocations: 0.4905 MB / 1.239 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.5013, allocations: 8.281 kB / 1.239 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5013, allocations: 4 kB / 1.239 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003031/0.5016, allocations: 93.59 kB / 1.239 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.5019, allocations: 75.89 kB / 1.239 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/0.5047, allocations: 3.097 MB / 1.242 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000474/0.5052, allocations: 67.58 kB / 1.242 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.5052, allocations: 8 kB / 1.242 GB, free: 4.098 MB / 0.9981 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.0002443/0.5055, allocations: 225.6 kB / 1.243 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.5056, allocations: 55.34 kB / 1.243 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.806e-05/0.5057, allocations: 56.5 kB / 1.243 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5057, allocations: 4 kB / 1.243 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.5057, allocations: 4 kB / 1.243 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007029/0.5064, allocations: 0.5266 MB / 1.243 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.5076, allocations: 0.9105 MB / 1.244 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.5076, allocations: 0 / 1.244 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.5078, allocations: 39.97 kB / 1.244 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001955/0.508, allocations: 68.75 kB / 1.244 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.508, allocations: 7.875 kB / 1.244 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.5096, allocations: 1.691 MB / 1.246 GB, free: 232 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5096, allocations: 3.938 kB / 1.246 GB, free: 228 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4642/0.9738, allocations: 440.1 kB / 1.246 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002679/0.9741, allocations: 168.5 kB / 1.246 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.367e-05/0.9742, allocations: 6.562 kB / 1.246 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005264/0.9747, allocations: 33.33 kB / 1.247 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/0.9748, allocations: 19.84 kB / 1.247 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-05/0.9749, allocations: 11.34 kB / 1.247 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005451/0.9754, allocations: 401.3 kB / 1.247 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9754, allocations: 4.062 kB / 1.247 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007579/0.9762, allocations: 208.3 kB / 1.247 GB, free: 194.2 MB / 0.9981 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.001108/0.9773, allocations: 1.023 MB / 1.248 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00094/0.9782, allocations: 0.526 MB / 1.249 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.9783, allocations: 2 kB / 1.249 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003648/0.9786, allocations: 254.3 kB / 1.249 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.9802, allocations: 356 kB / 1.249 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005271/0.9855, allocations: 4.743 MB / 1.254 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.9858, allocations: 0.9095 MB / 1.255 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004792/0.9863, allocations: 110.1 kB / 1.255 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.9865, allocations: 199.9 kB / 1.255 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/0.9865, allocations: 0 / 1.255 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04135/1.028, allocations: 16.89 MB / 1.272 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/1.028, allocations: 294.8 kB / 1.272 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/3.304, allocations: 3.625 kB / 1.272 GB, free: 186.8 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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