Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_10_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.001349/0.001349, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00161/0.00161, allocations: 193.7 kB / 16.14 MB, free: 6.691 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.361/1.361, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.561/2.561, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 67.89 kB / 0.8686 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6205/0.622, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1962/0.8182, allocations: 168.8 MB / 1.182 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007745/0.826, allocations: 4.364 MB / 1.186 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009074/0.8269, allocations: 19.88 kB / 1.186 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.8281, allocations: 310.5 kB / 1.186 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00326/0.8314, allocations: 1.144 MB / 1.187 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.8334, allocations: 0.7216 MB / 1.188 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002716/0.8361, allocations: 2.371 MB / 1.19 GB, free: 436 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007484/0.8369, allocations: 487.2 kB / 1.191 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.8381, allocations: 0.595 MB / 1.191 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.8394, allocations: 0.5677 MB / 1.192 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.502e-05/0.8395, allocations: 36 kB / 1.192 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.8412, allocations: 0.9118 MB / 1.193 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.8415, allocations: 247.2 kB / 1.193 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004353/0.842, allocations: 366.3 kB / 1.193 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.8437, allocations: 1.285 MB / 1.195 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.8437, allocations: 4 kB / 1.195 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.31e-07/0.8437, allocations: 0 / 1.195 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.8437, allocations: 0 / 1.195 GB, free: 11.93 MB / 0.9512 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.002244/0.846, allocations: 1.027 MB / 1.196 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.38e-05/0.846, allocations: 12.03 kB / 1.196 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.8462, allocations: 98.5 kB / 1.196 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.8473, allocations: 175 kB / 1.196 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000957/0.8483, allocations: 0.5209 MB / 1.196 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.426e-05/0.8484, allocations: 41.31 kB / 1.196 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.917e-05/0.8485, allocations: 52 kB / 1.197 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.8498, allocations: 0.6479 MB / 1.197 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.8498, allocations: 0 / 1.197 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.391e-05/0.8498, allocations: 24 kB / 1.197 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.024e-05/0.8499, allocations: 29.23 kB / 1.197 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009454/0.8508, allocations: 0.5126 MB / 1.198 GB, free: 8.691 MB / 0.9512 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.003472/0.8543, allocations: 2.309 MB / 1.2 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005596/0.8549, allocations: 258.8 kB / 1.2 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.8552, allocations: 140.3 kB / 1.2 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.8552, allocations: 4 kB / 1.2 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.8553, allocations: 38.56 kB / 1.2 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.904e-06/0.8553, allocations: 0 / 1.2 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.00171/0.857, allocations: 0.6628 MB / 1.201 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.8571, allocations: 81.11 kB / 1.201 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006391/0.8577, allocations: 0.5574 MB / 1.202 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.8578, allocations: 33.7 kB / 1.202 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.858, allocations: 343.1 kB / 1.202 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.026e-05/0.8581, allocations: 67.02 kB / 1.202 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.8582, allocations: 65.94 kB / 1.202 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002288/0.8585, allocations: 366.7 kB / 1.202 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.8587, allocations: 132.6 kB / 1.203 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.859, allocations: 218.6 kB / 1.203 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005511/0.8596, allocations: 328.9 kB / 1.203 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.8596, allocations: 4 kB / 1.203 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009776/0.8606, allocations: 0.4905 MB / 1.204 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.8606, allocations: 8 kB / 1.204 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.8607, allocations: 7.984 kB / 1.204 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003283/0.861, allocations: 89.94 kB / 1.204 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.8613, allocations: 71.91 kB / 1.204 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003078/0.8644, allocations: 3.107 MB / 1.207 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005383/0.865, allocations: 67.5 kB / 1.207 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.865, allocations: 11.98 kB / 1.207 GB, free: 14.64 MB / 0.9669 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.000355/0.8654, allocations: 221.7 kB / 1.207 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.8655, allocations: 55.34 kB / 1.207 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.8656, allocations: 56.5 kB / 1.207 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.8656, allocations: 4 kB / 1.207 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8657, allocations: 0 / 1.207 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007781/0.8664, allocations: 0.5383 MB / 1.208 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.8678, allocations: 0.9124 MB / 1.209 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.8678, allocations: 0 / 1.209 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.868, allocations: 51.97 kB / 1.209 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002073/0.8682, allocations: 64.94 kB / 1.209 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.8683, allocations: 8 kB / 1.209 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.8699, allocations: 1.675 MB / 1.21 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8699, allocations: 0 / 1.21 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007679/0.8707, allocations: 443 kB / 1.211 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.8709, allocations: 168.4 kB / 1.211 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.335e-05/0.871, allocations: 4 kB / 1.211 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004699/0.8715, allocations: 40.75 kB / 1.211 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.06e-05/0.8716, allocations: 19.97 kB / 1.211 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.192e-05/0.8716, allocations: 15.94 kB / 1.211 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005131/0.8722, allocations: 398.8 kB / 1.211 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8722, allocations: 0 / 1.211 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007143/0.8729, allocations: 207.6 kB / 1.212 GB, free: 9.469 MB / 0.9669 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.001471/0.8744, allocations: 1.042 MB / 1.213 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009656/0.8753, allocations: 0.5283 MB / 1.213 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.8753, allocations: 0 / 1.213 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.8757, allocations: 246.6 kB / 1.213 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.8773, allocations: 361.4 kB / 1.214 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006635/0.884, allocations: 4.732 MB / 1.218 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.8846, allocations: 0.9093 MB / 1.219 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005501/0.8851, allocations: 112.8 kB / 1.219 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.8854, allocations: 191.4 kB / 1.22 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of SimCode: time 7.22e-07/0.8854, allocations: 0 / 1.22 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03831/0.9237, allocations: 16.86 MB / 1.236 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000433/0.9242, allocations: 295.8 kB / 1.236 GB, free: 252 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.479/3.403, allocations: 4 kB / 1.236 GB, free: 248 kB / 0.9825 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches