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.0009376/0.0009379, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.001234/0.001234, allocations: 181.9 kB / 16.28 MB, free: 6.656 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.27 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.609/2.609, allocations: 437.8 MB / 0.7121 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003378, allocations: 8 kB / 0.8729 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6118/0.6121, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1731/0.7853, allocations: 166.6 MB / 1.186 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007332/0.7927, allocations: 4.298 MB / 1.19 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008605/0.7935, allocations: 19.88 kB / 1.19 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.7947, allocations: 314.5 kB / 1.19 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003136/0.7978, allocations: 1.144 MB / 1.191 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.7998, allocations: 0.722 MB / 1.192 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002771/0.8026, allocations: 2.362 MB / 1.194 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008244/0.8034, allocations: 473.6 kB / 1.195 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.8047, allocations: 0.5796 MB / 1.196 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.8061, allocations: 0.5387 MB / 1.196 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.8062, allocations: 31.94 kB / 1.196 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001641/0.8079, allocations: 0.9118 MB / 1.197 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002757/0.8082, allocations: 231.3 kB / 1.197 GB, free: 13 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004645/0.8086, allocations: 388 kB / 1.198 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.8102, allocations: 1.269 MB / 1.199 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.8102, allocations: 0 / 1.199 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8103, allocations: 0 / 1.199 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.849e-05/0.8103, allocations: 4 kB / 1.199 GB, free: 11.34 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.001691/0.812, allocations: 0.8885 MB / 1.2 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.812, allocations: 12.03 kB / 1.2 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001403/0.8122, allocations: 98.52 kB / 1.2 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.8132, allocations: 171 kB / 1.2 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007715/0.814, allocations: 0.5171 MB / 1.2 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.814, allocations: 41.25 kB / 1.2 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.312e-05/0.8141, allocations: 52 kB / 1.201 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.8152, allocations: 0.6558 MB / 1.201 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.8153, allocations: 7.922 kB / 1.201 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.47e-05/0.8153, allocations: 28 kB / 1.201 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.463e-05/0.8154, allocations: 25.3 kB / 1.201 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009636/0.8164, allocations: 0.5243 MB / 1.202 GB, free: 8.215 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.003245/0.8196, allocations: 2.305 MB / 1.204 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005298/0.8202, allocations: 266.7 kB / 1.204 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.8204, allocations: 138.5 kB / 1.204 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.8205, allocations: 8 kB / 1.204 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.8205, allocations: 46.48 kB / 1.204 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 2.094e-06/0.8205, allocations: 0 / 1.204 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.001657/0.8222, allocations: 0.6822 MB / 1.205 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.8222, allocations: 81.11 kB / 1.205 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006493/0.8229, allocations: 0.5536 MB / 1.206 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.8229, allocations: 33.7 kB / 1.206 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.8232, allocations: 339 kB / 1.206 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.268e-05/0.8233, allocations: 71.08 kB / 1.206 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.8233, allocations: 33.7 kB / 1.206 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.8235, allocations: 362.7 kB / 1.207 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.8237, allocations: 132.6 kB / 1.207 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.8241, allocations: 218.7 kB / 1.207 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000549/0.8246, allocations: 348.8 kB / 1.207 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.8246, allocations: 0 / 1.207 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009373/0.8256, allocations: 0.4984 MB / 1.208 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.8256, allocations: 8.938 kB / 1.208 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.8256, allocations: 0 / 1.208 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003113/0.8259, allocations: 105.8 kB / 1.208 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.8263, allocations: 71.91 kB / 1.208 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002876/0.8292, allocations: 3.104 MB / 1.211 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005621/0.8298, allocations: 71.42 kB / 1.211 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.8298, allocations: 12 kB / 1.211 GB, free: 14.14 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.0002705/0.8301, allocations: 218.4 kB / 1.211 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.8302, allocations: 55.44 kB / 1.211 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.8303, allocations: 56.5 kB / 1.211 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.8303, allocations: 0 / 1.211 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.8303, allocations: 4 kB / 1.211 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007348/0.8311, allocations: 0.5437 MB / 1.212 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.8324, allocations: 0.9237 MB / 1.213 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.8324, allocations: 0 / 1.213 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.8326, allocations: 48.03 kB / 1.213 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002092/0.8328, allocations: 80.61 kB / 1.213 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.8328, allocations: 7.938 kB / 1.213 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/0.8344, allocations: 1.683 MB / 1.214 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.8344, allocations: 7.969 kB / 1.214 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006368/0.835, allocations: 449.3 kB / 1.215 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.8353, allocations: 164.3 kB / 1.215 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.367e-05/0.8353, allocations: 8 kB / 1.215 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004922/0.8358, allocations: 35.97 kB / 1.215 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-05/0.8359, allocations: 19.97 kB / 1.215 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.836, allocations: 11.98 kB / 1.215 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004344/0.8364, allocations: 402.8 kB / 1.216 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8364, allocations: 0 / 1.216 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006573/0.8371, allocations: 219.5 kB / 1.216 GB, free: 8.91 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.001164/0.8382, allocations: 1.036 MB / 1.217 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008972/0.8392, allocations: 0.5361 MB / 1.217 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.8392, allocations: 4 kB / 1.217 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003772/0.8396, allocations: 272.4 kB / 1.218 GB, free: 7 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/0.8414, allocations: 353.7 kB / 1.218 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006262/0.8477, allocations: 4.799 MB / 1.223 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.8482, allocations: 0.9093 MB / 1.223 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004829/0.8487, allocations: 108.8 kB / 1.224 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.8489, allocations: 195.4 kB / 1.224 GB, free: 488 kB / 0.9669 GB Notification: Performance of SimCode: time 5.71e-07/0.8489, allocations: 4 kB / 1.224 GB, free: 484 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03261/0.8816, allocations: 16.68 MB / 1.24 GB, free: 172 kB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/0.8818, allocations: 289.4 kB / 1.24 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/3.137, allocations: 4 kB / 1.24 GB, free: 15.79 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