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.001497/0.001497, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.544/2.544, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 61.33 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2391, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1656/0.4048, allocations: 171.1 MB / 1.22 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006203/0.411, allocations: 4.299 MB / 1.224 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006263/0.4117, allocations: 23.88 kB / 1.224 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009659/0.4127, allocations: 349.9 kB / 1.225 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.4154, allocations: 1.228 MB / 1.226 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.4172, allocations: 0.7829 MB / 1.226 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00185/0.4191, allocations: 1.695 MB / 1.228 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007747/0.4199, allocations: 0.5582 MB / 1.229 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.421, allocations: 0.6732 MB / 1.229 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.4221, allocations: 0.5603 MB / 1.23 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.4223, allocations: 64 kB / 1.23 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.4237, allocations: 0.7912 MB / 1.231 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000283/0.424, allocations: 279.2 kB / 1.231 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005078/0.4245, allocations: 402.3 kB / 1.231 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.426, allocations: 1.262 MB / 1.233 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.426, allocations: 3.938 kB / 1.233 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.213e-06/0.426, allocations: 0 / 1.233 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.946e-05/0.426, allocations: 0 / 1.233 GB, free: 15.59 MB / 0.9981 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.001822/0.4279, allocations: 1.036 MB / 1.234 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.4279, allocations: 16.61 kB / 1.234 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001267/0.428, allocations: 94.52 kB / 1.234 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.4291, allocations: 163 kB / 1.234 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007231/0.4298, allocations: 0.5249 MB / 1.234 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.4298, allocations: 37.31 kB / 1.234 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.796e-05/0.4299, allocations: 56 kB / 1.234 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.431, allocations: 0.6518 MB / 1.235 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.431, allocations: 0 / 1.235 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.1e-05/0.4311, allocations: 24 kB / 1.235 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-05/0.4311, allocations: 25.31 kB / 1.235 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009273/0.4321, allocations: 0.5087 MB / 1.236 GB, free: 12.34 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.003228/0.4353, allocations: 2.32 MB / 1.238 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005023/0.4358, allocations: 250.8 kB / 1.238 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.4361, allocations: 144 kB / 1.238 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.4361, allocations: 11.98 kB / 1.238 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.4362, allocations: 38.56 kB / 1.238 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/0.4362, allocations: 0 / 1.238 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001625/0.4378, allocations: 0.6662 MB / 1.239 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.4378, allocations: 85.05 kB / 1.239 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006354/0.4385, allocations: 0.5574 MB / 1.24 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.4385, allocations: 33.7 kB / 1.24 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.4388, allocations: 327.1 kB / 1.24 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.372e-05/0.4388, allocations: 78.88 kB / 1.24 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.439, allocations: 69.94 kB / 1.24 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4391, allocations: 362.7 kB / 1.24 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.4394, allocations: 136.6 kB / 1.241 GB, free: 7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.4397, allocations: 218.6 kB / 1.241 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005351/0.4402, allocations: 336.8 kB / 1.241 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.4403, allocations: 0 / 1.241 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009037/0.4412, allocations: 0.4947 MB / 1.242 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.4412, allocations: 8 kB / 1.242 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4412, allocations: 0 / 1.242 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002962/0.4415, allocations: 93.64 kB / 1.242 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.4418, allocations: 71.91 kB / 1.242 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002858/0.4447, allocations: 3.344 MB / 1.245 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004542/0.4452, allocations: 47.52 kB / 1.245 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.4452, allocations: 12 kB / 1.245 GB, free: 2.031 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.0002414/0.4455, allocations: 227.2 kB / 1.245 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.4456, allocations: 55.34 kB / 1.245 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.761e-05/0.4457, allocations: 56.5 kB / 1.245 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.4457, allocations: 4 kB / 1.245 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.4457, allocations: 3.938 kB / 1.245 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007221/0.4464, allocations: 0.5282 MB / 1.246 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.4476, allocations: 0.9104 MB / 1.247 GB, free: 108 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4476, allocations: 0 / 1.247 GB, free: 108 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.4478, allocations: 47.91 kB / 1.247 GB, free: 60 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4172/0.865, allocations: 63.27 kB / 1.247 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.222e-05/0.8651, allocations: 5.125 kB / 1.247 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/0.8666, allocations: 1.814 MB / 1.249 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8666, allocations: 6.375 kB / 1.249 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006732/0.8673, allocations: 436.5 kB / 1.249 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.8675, allocations: 170.1 kB / 1.249 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-05/0.8676, allocations: 6.188 kB / 1.249 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004631/0.8681, allocations: 24.53 kB / 1.249 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/0.8681, allocations: 22.55 kB / 1.249 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.8682, allocations: 17.06 kB / 1.249 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004545/0.8687, allocations: 401.7 kB / 1.25 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8687, allocations: 0 / 1.25 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006493/0.8693, allocations: 201 kB / 1.25 GB, free: 193.6 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.0009901/0.8703, allocations: 1.035 MB / 1.251 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008268/0.8712, allocations: 0.5359 MB / 1.251 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.8712, allocations: 4.969 kB / 1.251 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003304/0.8715, allocations: 261 kB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.8732, allocations: 374.8 kB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004612/0.8778, allocations: 4.544 MB / 1.257 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.8781, allocations: 0.9084 MB / 1.257 GB, free: 190 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004203/0.8785, allocations: 110.3 kB / 1.257 GB, free: 190 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.8787, allocations: 185.2 kB / 1.258 GB, free: 190 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/0.8787, allocations: 3.812 kB / 1.258 GB, free: 190 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.513/3.392, allocations: 17.66 MB / 1.275 GB, free: 186 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.07/21.47, allocations: 11.47 kB / 1.275 GB, free: 186 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