Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.MixingVolume,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",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.001294/0.001294, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.009822/0.009822, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.462/1.462, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.592/2.592, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003167, allocations: 12 kB / 0.8729 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5494/0.5497, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7729/1.323, allocations: 237.2 MB / 1.255 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01968/1.342, allocations: 15.91 MB / 1.27 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002243/1.345, allocations: 69.5 kB / 1.27 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002608/1.347, allocations: 1.014 MB / 1.271 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.009012/1.356, allocations: 3.601 MB / 1.275 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004242/1.361, allocations: 1.628 MB / 1.276 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007866/1.368, allocations: 7.417 MB / 1.284 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001934/1.37, allocations: 1.386 MB / 1.285 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006045/1.376, allocations: 2.302 MB / 1.287 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00372/1.38, allocations: 1.729 MB / 1.289 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000239/1.38, allocations: 84.75 kB / 1.289 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005389/1.386, allocations: 3.136 MB / 1.292 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006445/1.386, allocations: 0.6756 MB / 1.293 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00133/1.388, allocations: 1.058 MB / 1.294 GB, free: 17.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004096/1.392, allocations: 3.596 MB / 1.297 GB, free: 17.28 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.392, allocations: 3.75 kB / 1.297 GB, free: 17.28 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.204e-06/1.392, allocations: 2.656 kB / 1.297 GB, free: 17.28 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.356e-05/1.392, allocations: 0 / 1.297 GB, free: 17.28 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.003337/1.395, allocations: 2.108 MB / 1.299 GB, free: 16.15 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/1.395, allocations: 8.625 kB / 1.299 GB, free: 16.15 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002426/1.396, allocations: 221.2 kB / 1.3 GB, free: 16.1 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002737/1.398, allocations: 0.5005 MB / 1.3 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/1.4, allocations: 1.279 MB / 1.301 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/1.4, allocations: 177.1 kB / 1.302 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/1.4, allocations: 152.5 kB / 1.302 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/1.403, allocations: 1.751 MB / 1.303 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.838e-05/1.403, allocations: 2.875 kB / 1.303 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/1.403, allocations: 58.78 kB / 1.303 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.394e-05/1.403, allocations: 62.27 kB / 1.304 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/1.406, allocations: 1.394 MB / 1.305 GB, free: 15.21 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.008096/1.414, allocations: 8.22 MB / 1.313 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/1.415, allocations: 0.9126 MB / 1.314 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008048/1.416, allocations: 0.5434 MB / 1.314 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005991/1.417, allocations: 333.4 kB / 1.315 GB, free: 10 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.449e-05/1.417, allocations: 46.61 kB / 1.315 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=96): time 2.675e-06/1.417, allocations: 9.75 kB / 1.315 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.006233/1.423, allocations: 3.169 MB / 1.318 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/1.423, allocations: 62.12 kB / 1.318 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/1.425, allocations: 1.265 MB / 1.319 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.402e-05/1.425, allocations: 50.55 kB / 1.319 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005/1.425, allocations: 0.8101 MB / 1.32 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002714/1.425, allocations: 369.9 kB / 1.32 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/1.426, allocations: 99.98 kB / 1.32 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.426, allocations: 359.8 kB / 1.321 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007472/1.426, allocations: 442.2 kB / 1.321 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/1.427, allocations: 0.8346 MB / 1.322 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/1.429, allocations: 1.276 MB / 1.323 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.429, allocations: 2.906 kB / 1.323 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00216/1.431, allocations: 1.427 MB / 1.325 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002297/1.432, allocations: 360 kB / 1.325 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/1.432, allocations: 13.62 kB / 1.325 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/1.432, allocations: 20.66 kB / 1.325 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/1.433, allocations: 278.8 kB / 1.325 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.109e-05/1.433, allocations: 20.75 kB / 1.325 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/1.434, allocations: 176.2 kB / 1.325 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.002e-05/1.435, allocations: 55.27 kB / 1.325 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.002e-06/1.435, allocations: 1.938 kB / 1.326 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001875/1.436, allocations: 1.24 MB / 1.327 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.436, allocations: 9.844 kB / 1.327 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/1.436, allocations: 24.25 kB / 1.327 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/1.438, allocations: 273.1 kB / 1.327 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/1.438, allocations: 23.14 kB / 1.327 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/1.439, allocations: 173.4 kB / 1.327 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.389e-05/1.439, allocations: 52.88 kB / 1.327 GB, free: 6.68 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0006841/1.44, allocations: 0.5092 MB / 1.328 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/1.44, allocations: 166.3 kB / 1.328 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/1.442, allocations: 1.178 MB / 1.329 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/1.442, allocations: 14 kB / 1.329 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/1.442, allocations: 6.859 kB / 1.329 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001543/1.444, allocations: 1.099 MB / 1.33 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004114/1.448, allocations: 2.8 MB / 1.333 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/1.448, allocations: 4.516 kB / 1.333 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/1.449, allocations: 248.9 kB / 1.333 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/1.449, allocations: 3.188 kB / 1.333 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.338e-05/1.449, allocations: 34.64 kB / 1.333 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.178e-06/1.449, allocations: 7.5 kB / 1.333 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.449, allocations: 7.344 kB / 1.333 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/1.452, allocations: 1.792 MB / 1.335 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004991/1.452, allocations: 345.3 kB / 1.335 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/1.452, allocations: 22.69 kB / 1.335 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/1.454, allocations: 146.4 kB / 1.335 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/1.454, allocations: 66.84 kB / 1.335 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.8e-05/1.454, allocations: 42.7 kB / 1.336 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009317/1.455, allocations: 0.8439 MB / 1.336 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.455, allocations: 0 / 1.336 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001804/1.457, allocations: 0.7649 MB / 1.337 GB, free: 4.547 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.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 (102): * Single equations (assignments): 102 * 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.003224/1.46, allocations: 2.513 MB / 1.34 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002723/1.462, allocations: 1.757 MB / 1.341 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.463, allocations: 4 kB / 1.341 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008178/1.463, allocations: 0.5261 MB / 1.342 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004919/1.468, allocations: 0.9705 MB / 1.343 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/1.487, allocations: 13.96 MB / 1.356 GB, free: 9.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009578/1.488, allocations: 1.441 MB / 1.358 GB, free: 8.02 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001993/1.49, allocations: 0.5642 MB / 1.358 GB, free: 7.75 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008637/1.49, allocations: 0.6852 MB / 1.359 GB, free: 7.176 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/1.49, allocations: 0 / 1.359 GB, free: 7.176 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06783/1.558, allocations: 43.34 MB / 1.401 GB, free: 12.89 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/1.559, allocations: 244.2 kB / 1.402 GB, free: 12.64 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.947/4.505, allocations: 0 / 1.402 GB, free: 12.64 MB / 1.061 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches