Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_11_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.005006/0.005007, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.001421/0.001421, allocations: 188.8 kB / 16.67 MB, free: 5.973 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.46/2.46, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 67.91 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6809/0.6828, allocations: 159.1 MB / 1.22 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1696/0.8524, allocations: 171.1 MB / 1.387 GB, free: 6.285 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.005843/0.8583, allocations: 4.29 MB / 1.391 GB, free: 1.988 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004939/0.8588, allocations: 19.88 kB / 1.391 GB, free: 1.969 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008365/0.8597, allocations: 357.9 kB / 1.392 GB, free: 1.617 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002357/0.8621, allocations: 1.221 MB / 1.393 GB, free: 400 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.8637, allocations: 0.7962 MB / 1.394 GB, free: 15.6 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001767/0.8655, allocations: 1.699 MB / 1.395 GB, free: 13.89 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006394/0.8661, allocations: 0.5569 MB / 1.396 GB, free: 13.34 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008696/0.867, allocations: 0.6849 MB / 1.397 GB, free: 12.65 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001/0.868, allocations: 0.5552 MB / 1.397 GB, free: 12.09 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.8681, allocations: 64 kB / 1.397 GB, free: 12.03 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.8693, allocations: 0.799 MB / 1.398 GB, free: 11.23 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002651/0.8696, allocations: 271.3 kB / 1.398 GB, free: 10.96 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.000384/0.87, allocations: 406.3 kB / 1.399 GB, free: 10.57 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.8714, allocations: 1.269 MB / 1.4 GB, free: 9.293 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.8714, allocations: 4 kB / 1.4 GB, free: 9.289 MB / 1.123 GB Notification: Performance of FrontEnd: time 8.52e-07/0.8714, allocations: 0 / 1.4 GB, free: 9.289 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.8714, allocations: 0 / 1.4 GB, free: 9.289 MB / 1.123 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.001538/0.873, allocations: 1.055 MB / 1.401 GB, free: 8.18 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.873, allocations: 8.031 kB / 1.401 GB, free: 8.172 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/0.8731, allocations: 98.52 kB / 1.401 GB, free: 8.066 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009135/0.874, allocations: 171.4 kB / 1.401 GB, free: 7.898 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007313/0.8748, allocations: 0.5525 MB / 1.402 GB, free: 7.309 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.8748, allocations: 41.3 kB / 1.402 GB, free: 7.27 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.651e-05/0.8749, allocations: 48 kB / 1.402 GB, free: 7.223 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009955/0.8759, allocations: 0.6509 MB / 1.402 GB, free: 6.559 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.8759, allocations: 0 / 1.402 GB, free: 6.559 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.497e-05/0.876, allocations: 24 kB / 1.402 GB, free: 6.535 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/0.876, allocations: 29.25 kB / 1.402 GB, free: 6.504 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008604/0.8769, allocations: 0.5125 MB / 1.403 GB, free: 5.988 MB / 1.123 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.002921/0.8798, allocations: 2.298 MB / 1.405 GB, free: 3.527 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000477/0.8803, allocations: 254.8 kB / 1.405 GB, free: 3.27 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.8806, allocations: 148.7 kB / 1.406 GB, free: 3.121 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.8806, allocations: 0 / 1.406 GB, free: 3.121 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.8806, allocations: 42.55 kB / 1.406 GB, free: 3.07 MB / 1.123 GB Notification: Performance of pre-optimization done (n=20): time 9.42e-07/0.8806, allocations: 0 / 1.406 GB, free: 3.07 MB / 1.123 GB Notification: Performance of matching and sorting (n=20): time 0.001517/0.8821, allocations: 0.6715 MB / 1.406 GB, free: 2.352 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.8822, allocations: 81.11 kB / 1.406 GB, free: 2.254 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005923/0.8828, allocations: 0.5535 MB / 1.407 GB, free: 1.691 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.8828, allocations: 33.7 kB / 1.407 GB, free: 1.652 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.8831, allocations: 343.8 kB / 1.407 GB, free: 1.312 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.23e-05/0.8831, allocations: 75.41 kB / 1.407 GB, free: 1.238 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.8833, allocations: 73.98 kB / 1.407 GB, free: 1.16 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.8834, allocations: 362.7 kB / 1.408 GB, free: 0.7969 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.8837, allocations: 128.6 kB / 1.408 GB, free: 0.6719 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.884, allocations: 222.5 kB / 1.408 GB, free: 432 kB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005009/0.8845, allocations: 332.9 kB / 1.408 GB, free: 68 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.8845, allocations: 0 / 1.408 GB, free: 68 kB / 1.123 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008589/0.8854, allocations: 0.4948 MB / 1.409 GB, free: 15.56 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.8854, allocations: 4 kB / 1.409 GB, free: 15.55 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.8854, allocations: 7.938 kB / 1.409 GB, free: 15.55 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000283/0.8857, allocations: 97.92 kB / 1.409 GB, free: 15.45 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.886, allocations: 71.91 kB / 1.409 GB, free: 15.38 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006364/0.8924, allocations: 3.346 MB / 1.412 GB, free: 11.75 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004868/0.8929, allocations: 47.61 kB / 1.412 GB, free: 11.7 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.8929, allocations: 16 kB / 1.412 GB, free: 11.68 MB / 1.139 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.000279/0.8932, allocations: 221.7 kB / 1.413 GB, free: 11.46 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.8933, allocations: 55.67 kB / 1.413 GB, free: 11.4 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.8934, allocations: 56.5 kB / 1.413 GB, free: 11.35 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.8934, allocations: 192 / 1.413 GB, free: 11.35 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.8934, allocations: 7.938 kB / 1.413 GB, free: 11.34 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007037/0.8941, allocations: 0.5345 MB / 1.413 GB, free: 10.73 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.8953, allocations: 0.9104 MB / 1.414 GB, free: 9.758 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.8953, allocations: 0 / 1.414 GB, free: 9.758 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.8955, allocations: 39.97 kB / 1.414 GB, free: 9.719 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001802/0.8957, allocations: 72.81 kB / 1.414 GB, free: 9.645 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.8957, allocations: 4 kB / 1.414 GB, free: 9.641 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/0.8974, allocations: 1.821 MB / 1.416 GB, free: 7.68 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.8974, allocations: 0 / 1.416 GB, free: 7.68 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006014/0.898, allocations: 443.7 kB / 1.416 GB, free: 7.223 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001938/0.8982, allocations: 168.7 kB / 1.417 GB, free: 7.039 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.491e-05/0.8983, allocations: 12.11 kB / 1.417 GB, free: 7.027 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.8987, allocations: 19.98 kB / 1.417 GB, free: 7.008 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/0.8987, allocations: 19.92 kB / 1.417 GB, free: 6.988 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/0.8988, allocations: 19.98 kB / 1.417 GB, free: 6.969 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004164/0.8992, allocations: 398.8 kB / 1.417 GB, free: 6.582 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8992, allocations: 0 / 1.417 GB, free: 6.582 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005059/0.8997, allocations: 207.7 kB / 1.417 GB, free: 6.379 MB / 1.139 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.001096/0.9008, allocations: 1.036 MB / 1.418 GB, free: 5.316 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000815/0.9017, allocations: 0.5354 MB / 1.419 GB, free: 4.758 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9017, allocations: 4.062 kB / 1.419 GB, free: 4.754 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003478/0.902, allocations: 254.5 kB / 1.419 GB, free: 4.492 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.9035, allocations: 371.7 kB / 1.419 GB, free: 4.137 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005419/0.9089, allocations: 4.474 MB / 1.424 GB, free: 15.5 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/0.9095, allocations: 0.9093 MB / 1.425 GB, free: 14.56 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003331/0.9098, allocations: 112.8 kB / 1.425 GB, free: 14.45 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.91, allocations: 195.3 kB / 1.425 GB, free: 14.25 MB / 1.154 GB Notification: Performance of SimCode: time 2.31e-07/0.91, allocations: 0 / 1.425 GB, free: 14.25 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.21/4.12, allocations: 17.79 MB / 1.442 GB, free: 12.85 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/19.23, allocations: 7.875 kB / 1.442 GB, free: 12.85 MB / 1.17 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches