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.00104/0.00104, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.007989/0.007989, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.305/1.305, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.697/2.697, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003105, allocations: 13.31 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.277, allocations: 159.6 MB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.177/0.4541, allocations: 166.6 MB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008035/0.4622, allocations: 4.312 MB / 1.226 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.4634, allocations: 19.88 kB / 1.226 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.4647, allocations: 302.5 kB / 1.226 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003693/0.4684, allocations: 1.144 MB / 1.227 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002205/0.4707, allocations: 0.7296 MB / 1.228 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002901/0.4736, allocations: 2.358 MB / 1.23 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008922/0.4745, allocations: 473.7 kB / 1.231 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.476, allocations: 0.5756 MB / 1.231 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.4776, allocations: 0.554 MB / 1.232 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.4777, allocations: 24 kB / 1.232 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.4798, allocations: 0.9156 MB / 1.233 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000381/0.4802, allocations: 223.3 kB / 1.233 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006946/0.4809, allocations: 383.9 kB / 1.233 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002202/0.4831, allocations: 1.262 MB / 1.234 GB, free: 408 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4831, allocations: 0 / 1.234 GB, free: 408 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4831, allocations: 0 / 1.234 GB, free: 408 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.593e-05/0.4832, allocations: 0 / 1.234 GB, free: 408 kB / 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.001929/0.4851, allocations: 0.9079 MB / 1.235 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.4852, allocations: 8.031 kB / 1.235 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/0.4853, allocations: 98.52 kB / 1.235 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.4864, allocations: 163 kB / 1.236 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008515/0.4873, allocations: 0.5249 MB / 1.236 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.4873, allocations: 37.31 kB / 1.236 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.807e-05/0.4874, allocations: 59.94 kB / 1.236 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.4886, allocations: 0.6519 MB / 1.237 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.4886, allocations: 0 / 1.237 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.447e-05/0.4887, allocations: 28 kB / 1.237 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.664e-05/0.4888, allocations: 25.25 kB / 1.237 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009861/0.4898, allocations: 0.5282 MB / 1.237 GB, free: 13.26 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.003487/0.4933, allocations: 2.313 MB / 1.24 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005299/0.4938, allocations: 254.8 kB / 1.24 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.4941, allocations: 147.3 kB / 1.24 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.4941, allocations: 8 kB / 1.24 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.4942, allocations: 34.56 kB / 1.24 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.4942, allocations: 0 / 1.24 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001682/0.4959, allocations: 0.69 MB / 1.241 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.4959, allocations: 81.11 kB / 1.241 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006772/0.4966, allocations: 0.5574 MB / 1.241 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.577e-05/0.4967, allocations: 29.7 kB / 1.241 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/0.497, allocations: 335.1 kB / 1.242 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.9e-05/0.4971, allocations: 74.94 kB / 1.242 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.4972, allocations: 29.7 kB / 1.242 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4973, allocations: 366.7 kB / 1.242 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.4976, allocations: 144.5 kB / 1.242 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003113/0.4979, allocations: 218.6 kB / 1.242 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005523/0.4985, allocations: 352.8 kB / 1.243 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4985, allocations: 0 / 1.243 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009611/0.4995, allocations: 0.4909 MB / 1.243 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.4995, allocations: 8 kB / 1.243 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.4995, allocations: 4 kB / 1.243 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003176/0.4998, allocations: 97.58 kB / 1.243 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.5002, allocations: 71.91 kB / 1.243 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002886/0.5031, allocations: 3.11 MB / 1.247 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000538/0.5036, allocations: 67.47 kB / 1.247 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.5037, allocations: 12 kB / 1.247 GB, free: 3.172 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.0002788/0.5039, allocations: 217.7 kB / 1.247 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.5041, allocations: 59.44 kB / 1.247 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.5042, allocations: 52.5 kB / 1.247 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5042, allocations: 4 kB / 1.247 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.5042, allocations: 0 / 1.247 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007091/0.5049, allocations: 0.5435 MB / 1.247 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.5063, allocations: 0.9276 MB / 1.248 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.5063, allocations: 0 / 1.248 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.5065, allocations: 39.97 kB / 1.248 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001951/0.5067, allocations: 68.75 kB / 1.248 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.5068, allocations: 4 kB / 1.248 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7145/1.221, allocations: 1.68 MB / 1.25 GB, free: 20.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.221, allocations: 5.406 kB / 1.25 GB, free: 20.86 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00082/1.222, allocations: 451.4 kB / 1.251 GB, free: 20.71 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002505/1.222, allocations: 167.3 kB / 1.251 GB, free: 20.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/1.222, allocations: 6.344 kB / 1.251 GB, free: 20.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000482/1.223, allocations: 39.2 kB / 1.251 GB, free: 20.61 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.09e-05/1.223, allocations: 25.52 kB / 1.251 GB, free: 20.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.465e-05/1.223, allocations: 14.38 kB / 1.251 GB, free: 20.61 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005171/1.224, allocations: 400.1 kB / 1.251 GB, free: 20.52 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.224, allocations: 3.625 kB / 1.251 GB, free: 20.52 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007482/1.224, allocations: 210 kB / 1.251 GB, free: 20.52 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.001086/1.225, allocations: 1.047 MB / 1.252 GB, free: 19.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008937/1.226, allocations: 0.5345 MB / 1.253 GB, free: 19.62 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/1.226, allocations: 1.938 kB / 1.253 GB, free: 19.62 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003519/1.227, allocations: 263.5 kB / 1.253 GB, free: 19.51 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/1.229, allocations: 357.3 kB / 1.253 GB, free: 19.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005544/1.234, allocations: 4.818 MB / 1.258 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/1.235, allocations: 0.9118 MB / 1.259 GB, free: 16.75 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005519/1.235, allocations: 109.5 kB / 1.259 GB, free: 16.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/1.235, allocations: 189.6 kB / 1.259 GB, free: 16.73 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/1.235, allocations: 4 kB / 1.259 GB, free: 16.72 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03773/1.273, allocations: 16.7 MB / 1.276 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/1.273, allocations: 298.2 kB / 1.276 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.22/3.493, allocations: 0 / 1.276 GB, free: 15.4 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