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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001546/0.001546, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.001906/0.001906, allocations: 186.1 kB / 16.25 MB, free: 6.141 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.448/1.448, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.731/2.731, allocations: 461.9 MB / 0.7343 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 75.2 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3387, allocations: 157.4 MB / 1.052 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1743/0.5131, allocations: 168.8 MB / 1.217 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007148/0.5203, allocations: 4.271 MB / 1.221 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006952/0.521, allocations: 19.88 kB / 1.221 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009539/0.522, allocations: 310.5 kB / 1.222 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002643/0.5247, allocations: 1.144 MB / 1.223 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.5264, allocations: 0.7431 MB / 1.224 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002013/0.5284, allocations: 1.687 MB / 1.225 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007214/0.5292, allocations: 0.5504 MB / 1.226 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.5303, allocations: 0.681 MB / 1.226 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.5316, allocations: 0.5874 MB / 1.227 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.5317, allocations: 64 kB / 1.227 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.5333, allocations: 0.8417 MB / 1.228 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.5336, allocations: 271.3 kB / 1.228 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004249/0.534, allocations: 410.2 kB / 1.229 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.5355, allocations: 1.313 MB / 1.23 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.5356, allocations: 0 / 1.23 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5356, allocations: 0 / 1.23 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.5356, allocations: 0 / 1.23 GB, free: 2.34 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.001818/0.5374, allocations: 1.04 MB / 1.231 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.5375, allocations: 12.62 kB / 1.231 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.5376, allocations: 94.52 kB / 1.231 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.5387, allocations: 171 kB / 1.231 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007198/0.5394, allocations: 0.521 MB / 1.232 GB, free: 420 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/0.5395, allocations: 41.31 kB / 1.232 GB, free: 380 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.158e-05/0.5395, allocations: 52 kB / 1.232 GB, free: 328 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.5407, allocations: 0.648 MB / 1.232 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.5407, allocations: 4 kB / 1.232 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.419e-05/0.5408, allocations: 27.94 kB / 1.232 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/0.5408, allocations: 21.31 kB / 1.232 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009107/0.5417, allocations: 0.5126 MB / 1.233 GB, free: 15.09 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.003245/0.545, allocations: 2.312 MB / 1.235 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005029/0.5455, allocations: 246.8 kB / 1.235 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.5458, allocations: 144.7 kB / 1.235 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.5458, allocations: 8 kB / 1.235 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.5458, allocations: 34.56 kB / 1.236 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.5459, allocations: 0 / 1.236 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001689/0.5475, allocations: 0.6704 MB / 1.236 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.5476, allocations: 81.11 kB / 1.236 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006499/0.5483, allocations: 0.5574 MB / 1.237 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.5483, allocations: 33.7 kB / 1.237 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/0.5486, allocations: 331.1 kB / 1.237 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.922e-05/0.5486, allocations: 74.94 kB / 1.237 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.5488, allocations: 73.94 kB / 1.237 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5489, allocations: 362.7 kB / 1.238 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.5492, allocations: 128.6 kB / 1.238 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.5495, allocations: 222.5 kB / 1.238 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005155/0.55, allocations: 328.3 kB / 1.238 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.55, allocations: 0 / 1.238 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009533/0.551, allocations: 0.5028 MB / 1.239 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.551, allocations: 9.406 kB / 1.239 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.551, allocations: 0 / 1.239 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003334/0.5514, allocations: 97.86 kB / 1.239 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.5517, allocations: 71.91 kB / 1.239 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002967/0.5547, allocations: 3.353 MB / 1.242 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005253/0.5552, allocations: 55.58 kB / 1.242 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.5553, allocations: 16 kB / 1.242 GB, free: 4.77 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.0002825/0.5556, allocations: 213.7 kB / 1.242 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.5557, allocations: 59.33 kB / 1.243 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.5558, allocations: 56.52 kB / 1.243 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5558, allocations: 4 kB / 1.243 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5558, allocations: 7.922 kB / 1.243 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007075/0.5565, allocations: 0.5245 MB / 1.243 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.5579, allocations: 0.9161 MB / 1.244 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5579, allocations: 0 / 1.244 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.5581, allocations: 43.92 kB / 1.244 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001996/0.5583, allocations: 64.8 kB / 1.244 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.5583, allocations: 12.06 kB / 1.244 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.56, allocations: 1.824 MB / 1.246 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.56, allocations: 4.031 kB / 1.246 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006352/0.5606, allocations: 441.2 kB / 1.246 GB, free: 304 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.5609, allocations: 168.3 kB / 1.247 GB, free: 116 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.157e-05/0.561, allocations: 7.938 kB / 1.247 GB, free: 108 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004946/0.5615, allocations: 35.91 kB / 1.247 GB, free: 72 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.764e-05/0.5616, allocations: 23.97 kB / 1.247 GB, free: 48 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.555e-05/0.5616, allocations: 11.98 kB / 1.247 GB, free: 36 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.6165/1.178, allocations: 396.7 kB / 1.247 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.212e-06/1.178, allocations: 0 / 1.247 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001285/1.179, allocations: 203.7 kB / 1.247 GB, free: 194.9 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.001236/1.181, allocations: 1.028 MB / 1.248 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009533/1.182, allocations: 0.5487 MB / 1.249 GB, free: 194 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.182, allocations: 1 kB / 1.249 GB, free: 194 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003771/1.182, allocations: 262.4 kB / 1.249 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/1.184, allocations: 375 kB / 1.249 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006258/1.19, allocations: 4.732 MB / 1.254 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/1.191, allocations: 0.9109 MB / 1.255 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006276/1.191, allocations: 111.6 kB / 1.255 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/1.192, allocations: 196.3 kB / 1.255 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.282e-06/1.192, allocations: 0 / 1.255 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07052/1.262, allocations: 17.43 MB / 1.272 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002685/1.262, allocations: 297.9 kB / 1.272 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.072/4.334, allocations: 0 / 1.272 GB, free: 187.2 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