Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.0009784/0.0009784, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00759/0.00759, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.307/1.307, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.274/2.274, allocations: 390.9 MB / 0.6664 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 8.188 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6192/0.6195, allocations: 142.4 MB / 0.9552 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.1932/0.8128, allocations: 183.8 MB / 1.135 GB, free: 7.055 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0155/0.8284, allocations: 11.03 MB / 1.145 GB, free: 12 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.8299, allocations: 39.69 kB / 1.145 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.8312, allocations: 425.8 kB / 1.146 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006158/0.8374, allocations: 2.42 MB / 1.148 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00541/0.8428, allocations: 2.075 MB / 1.15 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005134/0.8479, allocations: 3.991 MB / 1.154 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.8492, allocations: 0.6458 MB / 1.155 GB, free: 2.383 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.851, allocations: 0.8363 MB / 1.156 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/0.8533, allocations: 1.045 MB / 1.157 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.8534, allocations: 44 kB / 1.157 GB, free: 464 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00609/0.8595, allocations: 3.301 MB / 1.16 GB, free: 13.14 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005413/0.8601, allocations: 378.8 kB / 1.16 GB, free: 12.77 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007165/0.8608, allocations: 0.5498 MB / 1.161 GB, free: 12.21 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005054/0.8659, allocations: 2.996 MB / 1.164 GB, free: 9.211 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.8659, allocations: 0 / 1.164 GB, free: 9.211 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8659, allocations: 3.938 kB / 1.164 GB, free: 9.207 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.8659, allocations: 4 kB / 1.164 GB, free: 9.203 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003279/0.8692, allocations: 1.472 MB / 1.165 GB, free: 7.68 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.8693, allocations: 11.97 kB / 1.165 GB, free: 7.668 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001611/0.8694, allocations: 118.5 kB / 1.165 GB, free: 7.543 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/0.8712, allocations: 302.3 kB / 1.166 GB, free: 7.246 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.8724, allocations: 0.7766 MB / 1.166 GB, free: 6.426 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.96e-05/0.8725, allocations: 53.3 kB / 1.166 GB, free: 6.375 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.8726, allocations: 63.98 kB / 1.166 GB, free: 6.312 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.8741, allocations: 0.9921 MB / 1.167 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.8742, allocations: 0 / 1.167 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.972e-05/0.8743, allocations: 31.98 kB / 1.167 GB, free: 5.27 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.409e-05/0.8744, allocations: 77.89 kB / 1.167 GB, free: 5.195 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.8759, allocations: 1.011 MB / 1.168 GB, free: 4.18 MB / 0.92 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.00551/0.8814, allocations: 3.582 MB / 1.172 GB, free: 376 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.8825, allocations: 0.6725 MB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005293/0.8831, allocations: 370.4 kB / 1.173 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002605/0.8833, allocations: 202.7 kB / 1.173 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.8834, allocations: 39.59 kB / 1.173 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 3.467e-06/0.8834, allocations: 0 / 1.173 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.001928/0.8853, allocations: 1.029 MB / 1.174 GB, free: 14 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.8854, allocations: 111.4 kB / 1.174 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009915/0.8864, allocations: 0.8019 MB / 1.175 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.944e-05/0.8865, allocations: 41.7 kB / 1.175 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/0.8868, allocations: 416.1 kB / 1.176 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.887, allocations: 224.8 kB / 1.176 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.976e-05/0.8871, allocations: 61.69 kB / 1.176 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.8873, allocations: 337.9 kB / 1.176 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005347/0.8878, allocations: 333.8 kB / 1.176 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006326/0.8884, allocations: 464.7 kB / 1.177 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.8896, allocations: 0.7665 MB / 1.178 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.8896, allocations: 3.938 kB / 1.178 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001466/0.8911, allocations: 0.9374 MB / 1.179 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.639e-05/0.8912, allocations: 151.5 kB / 1.179 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.8912, allocations: 3.938 kB / 1.179 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.8912, allocations: 11.94 kB / 1.179 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006819/0.8919, allocations: 147.8 kB / 1.179 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.8919, allocations: 4 kB / 1.179 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008642/0.8928, allocations: 107.2 kB / 1.179 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-05/0.8929, allocations: 31.98 kB / 1.179 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.594e-06/0.8929, allocations: 7.938 kB / 1.179 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001252/0.8941, allocations: 0.7765 MB / 1.18 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.8942, allocations: 4 kB / 1.18 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/0.8942, allocations: 7.984 kB / 1.18 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006417/0.8948, allocations: 147.8 kB / 1.18 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.8948, allocations: 4 kB / 1.18 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007544/0.8956, allocations: 103.5 kB / 1.18 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-05/0.8957, allocations: 31.92 kB / 1.18 GB, free: 7.848 MB / 0.9356 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 (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004873/0.8962, allocations: 380.8 kB / 1.18 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.8963, allocations: 94.81 kB / 1.18 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.8977, allocations: 0.7993 MB / 1.181 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.8977, allocations: 4 kB / 1.181 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.8977, allocations: 4 kB / 1.181 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001025/0.8987, allocations: 0.7477 MB / 1.182 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003147/0.9019, allocations: 2.09 MB / 1.184 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.9019, allocations: 8.062 kB / 1.184 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006373/0.9026, allocations: 131.8 kB / 1.184 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/0.9026, allocations: 11.94 kB / 1.184 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/0.9026, allocations: 16 kB / 1.184 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/0.9026, allocations: 8.422 kB / 1.184 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.9027, allocations: 8 kB / 1.184 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.9046, allocations: 1.356 MB / 1.186 GB, free: 2 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004055/0.905, allocations: 271.7 kB / 1.186 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.9051, allocations: 20 kB / 1.186 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006279/0.9058, allocations: 43.88 kB / 1.186 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-05/0.9059, allocations: 56.25 kB / 1.186 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/0.9059, allocations: 24 kB / 1.186 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007571/0.9067, allocations: 0.5576 MB / 1.186 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9067, allocations: 0 / 1.186 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001927/0.9086, allocations: 0.7489 MB / 1.187 GB, free: 276 kB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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 (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003331/0.912, allocations: 2.348 MB / 1.19 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001968/0.914, allocations: 1.167 MB / 1.191 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.914, allocations: 320 / 1.191 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005299/0.9145, allocations: 378.1 kB / 1.191 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/0.9173, allocations: 0.5091 MB / 1.192 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.9291, allocations: 8.619 MB / 1.2 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006907/0.9298, allocations: 1.078 MB / 1.201 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001432/0.9312, allocations: 420.4 kB / 1.201 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004986/0.9317, allocations: 339.3 kB / 1.202 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of SimCode: time 8.32e-07/0.9317, allocations: 0 / 1.202 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05658/0.9883, allocations: 29.97 MB / 1.231 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/0.9886, allocations: 264.3 kB / 1.231 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/3.56, allocations: 1.75 kB / 1.231 GB, free: 3.086 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches