Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_9_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.001056/0.001056, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009942/0.0009942, allocations: 195.4 kB / 16.14 MB, free: 6.711 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.273/1.273, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.037/2.037, allocations: 390.2 MB / 0.6643 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002146, allocations: 63.91 kB / 0.812 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4624/0.4646, allocations: 140.4 MB / 0.949 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1317/0.5964, allocations: 168.8 MB / 1.114 GB, free: 8.723 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004907/0.6013, allocations: 4.349 MB / 1.118 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004873/0.6018, allocations: 19.88 kB / 1.118 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007495/0.6026, allocations: 314.5 kB / 1.118 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00198/0.6046, allocations: 1.148 MB / 1.12 GB, free: 2.879 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.606, allocations: 0.7222 MB / 1.12 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001819/0.6078, allocations: 2.354 MB / 1.123 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004679/0.6083, allocations: 487.1 kB / 1.123 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006816/0.609, allocations: 0.5951 MB / 1.124 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000807/0.6098, allocations: 0.5755 MB / 1.124 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.335e-05/0.6099, allocations: 32 kB / 1.124 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.6111, allocations: 0.9118 MB / 1.125 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.6113, allocations: 247.3 kB / 1.125 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.6116, allocations: 374.3 kB / 1.126 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.6127, allocations: 1.277 MB / 1.127 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6127, allocations: 4 kB / 1.127 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of FrontEnd: time 6.61e-07/0.6127, allocations: 0 / 1.127 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.6127, allocations: 0 / 1.127 GB, free: 11.31 MB / 0.8887 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.001376/0.6141, allocations: 1.033 MB / 1.128 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.6141, allocations: 12.03 kB / 1.128 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.121e-05/0.6142, allocations: 98.52 kB / 1.128 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008619/0.6151, allocations: 171 kB / 1.128 GB, free: 9.941 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005759/0.6157, allocations: 0.5172 MB / 1.129 GB, free: 9.383 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.6157, allocations: 41.25 kB / 1.129 GB, free: 9.34 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.09e-05/0.6158, allocations: 52 kB / 1.129 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008917/0.6167, allocations: 0.6518 MB / 1.129 GB, free: 8.621 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.6167, allocations: 0 / 1.129 GB, free: 8.621 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-05/0.6168, allocations: 24 kB / 1.129 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/0.6168, allocations: 29.3 kB / 1.13 GB, free: 8.57 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007613/0.6176, allocations: 0.5126 MB / 1.13 GB, free: 8.055 MB / 0.8887 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.002521/0.6201, allocations: 2.309 MB / 1.132 GB, free: 5.578 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.6205, allocations: 250.8 kB / 1.133 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.6207, allocations: 139.2 kB / 1.133 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.6208, allocations: 8 kB / 1.133 GB, free: 5.18 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.6208, allocations: 38.56 kB / 1.133 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=20): time 1.213e-06/0.6208, allocations: 0 / 1.133 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20): time 0.001343/0.6221, allocations: 0.6741 MB / 1.133 GB, free: 4.41 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.6222, allocations: 81.11 kB / 1.133 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004918/0.6227, allocations: 0.5574 MB / 1.134 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.6227, allocations: 33.7 kB / 1.134 GB, free: 3.707 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.6229, allocations: 331.1 kB / 1.134 GB, free: 3.375 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.6229, allocations: 75 kB / 1.134 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.119e-05/0.623, allocations: 61.94 kB / 1.134 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.6232, allocations: 370.7 kB / 1.135 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.6234, allocations: 132.6 kB / 1.135 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.6236, allocations: 214.5 kB / 1.135 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.6241, allocations: 340.8 kB / 1.135 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.6241, allocations: 4 kB / 1.135 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000741/0.6248, allocations: 494.6 kB / 1.136 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.6248, allocations: 8 kB / 1.136 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.6249, allocations: 4 kB / 1.136 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000252/0.6251, allocations: 93.64 kB / 1.136 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.6254, allocations: 75.94 kB / 1.136 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08716/0.7126, allocations: 3.102 MB / 1.139 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000552/0.7131, allocations: 63.36 kB / 1.139 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.7132, allocations: 12 kB / 1.139 GB, free: 14 MB / 0.9044 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.0002496/0.7134, allocations: 229.7 kB / 1.139 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.7136, allocations: 55.34 kB / 1.139 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.792e-05/0.7137, allocations: 48.52 kB / 1.14 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.7137, allocations: 7.984 kB / 1.14 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.7137, allocations: 0 / 1.14 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000611/0.7143, allocations: 0.5305 MB / 1.14 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009781/0.7153, allocations: 0.9162 MB / 1.141 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7153, allocations: 0 / 1.141 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.7155, allocations: 39.92 kB / 1.141 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000169/0.7157, allocations: 76.98 kB / 1.141 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.7157, allocations: 4 kB / 1.141 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.7169, allocations: 1.683 MB / 1.143 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7169, allocations: 3.984 kB / 1.143 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005061/0.7175, allocations: 442.9 kB / 1.143 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.7176, allocations: 160.4 kB / 1.143 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.615e-05/0.7177, allocations: 11.98 kB / 1.143 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.7181, allocations: 33.14 kB / 1.143 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.7182, allocations: 23.91 kB / 1.143 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.7182, allocations: 15.98 kB / 1.143 GB, free: 9.422 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003479/0.7186, allocations: 402.8 kB / 1.144 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7186, allocations: 0 / 1.144 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004951/0.7191, allocations: 207.6 kB / 1.144 GB, free: 8.828 MB / 0.9044 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.0009002/0.72, allocations: 1.041 MB / 1.145 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006872/0.7207, allocations: 0.5248 MB / 1.145 GB, free: 7.211 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7207, allocations: 0 / 1.145 GB, free: 7.211 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.721, allocations: 250.6 kB / 1.146 GB, free: 6.953 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.7223, allocations: 357.2 kB / 1.146 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004933/0.7273, allocations: 4.729 MB / 1.151 GB, free: 1.723 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.7276, allocations: 0.9093 MB / 1.152 GB, free: 0.7852 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003563/0.728, allocations: 108.8 kB / 1.152 GB, free: 0.6797 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.7282, allocations: 191.4 kB / 1.152 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of SimCode: time 3.31e-07/0.7282, allocations: 0 / 1.152 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.732/6.461, allocations: 16.88 MB / 1.168 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003371/6.461, allocations: 289.4 kB / 1.169 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/8.692, allocations: 0 / 1.169 GB, free: 15.61 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches