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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001267/0.001267, 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.001324/0.001324, allocations: 191 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.392/1.392, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 437 MB / 0.7101 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001757, allocations: 63.89 kB / 0.8688 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.632/0.6338, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1545/0.7884, allocations: 168.8 MB / 1.182 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005834/0.7943, allocations: 4.269 MB / 1.186 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008193/0.7951, allocations: 19.88 kB / 1.186 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.7963, allocations: 322.5 kB / 1.186 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002955/0.7992, allocations: 1.144 MB / 1.187 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.8011, allocations: 0.7246 MB / 1.188 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001763/0.8029, allocations: 1.695 MB / 1.19 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006624/0.8035, allocations: 0.5542 MB / 1.19 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.8046, allocations: 0.6888 MB / 1.191 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009578/0.8056, allocations: 0.5854 MB / 1.192 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.381e-05/0.8056, allocations: 71.94 kB / 1.192 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.8068, allocations: 0.8377 MB / 1.192 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.807, allocations: 267.3 kB / 1.193 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000323/0.8073, allocations: 410.2 kB / 1.193 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.8086, allocations: 1.313 MB / 1.194 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.8086, allocations: 0 / 1.194 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8086, allocations: 4 kB / 1.194 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.8086, allocations: 0 / 1.194 GB, free: 12.41 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.001544/0.8102, allocations: 1.042 MB / 1.195 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.8102, allocations: 12.02 kB / 1.195 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.8103, allocations: 98.52 kB / 1.195 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009322/0.8113, allocations: 155.1 kB / 1.196 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006696/0.812, allocations: 0.5249 MB / 1.196 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.812, allocations: 41.31 kB / 1.196 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.157e-05/0.8121, allocations: 56 kB / 1.196 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009831/0.8131, allocations: 0.6518 MB / 1.197 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.8131, allocations: 0 / 1.197 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.875e-05/0.8131, allocations: 28 kB / 1.197 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/0.8132, allocations: 21.31 kB / 1.197 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008148/0.814, allocations: 0.5164 MB / 1.197 GB, free: 9.156 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.002823/0.8168, allocations: 2.297 MB / 1.2 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00046/0.8173, allocations: 254.8 kB / 1.2 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.8175, allocations: 136.7 kB / 1.2 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.8176, allocations: 15.92 kB / 1.2 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.8176, allocations: 34.56 kB / 1.2 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.212e-06/0.8176, allocations: 0 / 1.2 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.001487/0.8191, allocations: 0.6665 MB / 1.201 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.8192, allocations: 81.11 kB / 1.201 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005434/0.8197, allocations: 0.5613 MB / 1.201 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.8198, allocations: 29.7 kB / 1.201 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.82, allocations: 335.1 kB / 1.202 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.82, allocations: 67.02 kB / 1.202 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.8202, allocations: 73.88 kB / 1.202 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.8203, allocations: 362.7 kB / 1.202 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.8205, allocations: 132.6 kB / 1.202 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.8208, allocations: 214.7 kB / 1.202 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004686/0.8213, allocations: 336.8 kB / 1.203 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8213, allocations: 0 / 1.203 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008038/0.8221, allocations: 0.4947 MB / 1.203 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.8221, allocations: 4 kB / 1.203 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.8221, allocations: 4 kB / 1.203 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002914/0.8224, allocations: 89.66 kB / 1.203 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.8227, allocations: 71.89 kB / 1.203 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01822/0.841, allocations: 3.372 MB / 1.207 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007333/0.8417, allocations: 63.52 kB / 1.207 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.8418, allocations: 12 kB / 1.207 GB, free: 14.84 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.0003378/0.8421, allocations: 213.7 kB / 1.207 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.8423, allocations: 55.34 kB / 1.207 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.773e-05/0.8424, allocations: 56.5 kB / 1.207 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.8424, allocations: 4 kB / 1.207 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.8424, allocations: 3.938 kB / 1.207 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006899/0.8431, allocations: 0.5345 MB / 1.208 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.8442, allocations: 0.9104 MB / 1.209 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.8442, allocations: 0 / 1.209 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.8445, allocations: 48.03 kB / 1.209 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002039/0.8447, allocations: 61 kB / 1.209 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.8447, allocations: 15.92 kB / 1.209 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/0.8462, allocations: 1.805 MB / 1.21 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.8462, allocations: 11.98 kB / 1.21 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/0.8468, allocations: 433.1 kB / 1.211 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.847, allocations: 172.3 kB / 1.211 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.916e-05/0.847, allocations: 7.938 kB / 1.211 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000444/0.8475, allocations: 34.7 kB / 1.211 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.8476, allocations: 23.91 kB / 1.211 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/0.8476, allocations: 12 kB / 1.211 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003933/0.848, allocations: 406.8 kB / 1.211 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.81e-07/0.848, allocations: 4 kB / 1.211 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006027/0.8486, allocations: 211.6 kB / 1.212 GB, free: 9.527 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.001017/0.8496, allocations: 1.034 MB / 1.213 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008125/0.8505, allocations: 0.5459 MB / 1.213 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8505, allocations: 4.5 kB / 1.213 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003255/0.8508, allocations: 262.5 kB / 1.213 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.8523, allocations: 362.9 kB / 1.214 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005565/0.8579, allocations: 4.73 MB / 1.218 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.8584, allocations: 0.9093 MB / 1.219 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004407/0.8588, allocations: 116.8 kB / 1.219 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.859, allocations: 187.4 kB / 1.22 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of SimCode: time 1.543e-06/0.859, allocations: 3.938 kB / 1.22 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03426/0.8933, allocations: 17.42 MB / 1.237 GB, free: 136 kB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000276/0.8936, allocations: 294 kB / 1.237 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.058/2.952, allocations: 1.562 kB / 1.237 GB, free: 15.75 MB / 0.9981 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