Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.001716/0.001716, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00191/0.00191, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.587/2.587, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 71.83 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5682/0.5707, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2058/0.7765, allocations: 207.7 MB / 1.22 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01397/0.7905, allocations: 9.956 MB / 1.229 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/0.7926, allocations: 51.69 kB / 1.229 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.7945, allocations: 0.6684 MB / 1.23 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006409/0.8009, allocations: 2.654 MB / 1.233 GB, free: 5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003135/0.8041, allocations: 1.242 MB / 1.234 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005791/0.8099, allocations: 5.633 MB / 1.239 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/0.8116, allocations: 1.125 MB / 1.24 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002221/0.8138, allocations: 1.163 MB / 1.241 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/0.8167, allocations: 1.283 MB / 1.243 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000313/0.817, allocations: 72 kB / 1.243 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004847/0.8218, allocations: 2.762 MB / 1.246 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006246/0.8225, allocations: 0.5296 MB / 1.246 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.8237, allocations: 0.7814 MB / 1.247 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004309/0.828, allocations: 3.073 MB / 1.25 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.828, allocations: 0 / 1.25 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.689e-06/0.828, allocations: 0 / 1.25 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.914e-05/0.8281, allocations: 3.938 kB / 1.25 GB, free: 3.27 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003441/0.8316, allocations: 1.9 MB / 1.252 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.8316, allocations: 8.031 kB / 1.252 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002015/0.8318, allocations: 172.7 kB / 1.252 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003202/0.835, allocations: 489.7 kB / 1.252 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4519/1.287, allocations: 1.053 MB / 1.253 GB, free: 235.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.827e-05/1.287, allocations: 80.97 kB / 1.253 GB, free: 235.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/1.287, allocations: 113.4 kB / 1.253 GB, free: 235.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/1.289, allocations: 1.156 MB / 1.255 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/1.289, allocations: 0.7188 kB / 1.255 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/1.29, allocations: 48.52 kB / 1.255 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.462e-05/1.29, allocations: 44.66 kB / 1.255 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/1.291, allocations: 1.08 MB / 1.256 GB, free: 234.5 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.005789/1.297, allocations: 4.204 MB / 1.26 GB, free: 232 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/1.299, allocations: 0.7908 MB / 1.261 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008722/1.3, allocations: 481.5 kB / 1.261 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004327/1.3, allocations: 296.6 kB / 1.261 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/1.3, allocations: 48.7 kB / 1.261 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=83): time 2.755e-06/1.3, allocations: 0 / 1.261 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89): time 0.006029/1.306, allocations: 2.841 MB / 1.264 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/1.306, allocations: 61.44 kB / 1.264 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/1.308, allocations: 0.9813 MB / 1.265 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.371e-05/1.308, allocations: 47.55 kB / 1.265 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003868/1.308, allocations: 0.5405 MB / 1.266 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/1.308, allocations: 308 kB / 1.266 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/1.309, allocations: 163 kB / 1.266 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.918e-05/1.309, allocations: 341.7 kB / 1.267 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006346/1.309, allocations: 337.8 kB / 1.267 GB, free: 228 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006912/1.31, allocations: 486.5 kB / 1.267 GB, free: 227.7 MB / 0.9981 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006052/1.316, allocations: 3.034 MB / 1.27 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.316, allocations: 0 / 1.27 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00171/1.318, allocations: 1.01 MB / 1.271 GB, free: 226 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/1.318, allocations: 5.344 kB / 1.271 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.318, allocations: 8.812 kB / 1.271 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/1.318, allocations: 10.31 kB / 1.271 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007439/1.319, allocations: 183.7 kB / 1.272 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/1.319, allocations: 11.45 kB / 1.272 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/1.32, allocations: 80.16 kB / 1.272 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-05/1.32, allocations: 30.12 kB / 1.272 GB, free: 226 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0005495/1.321, allocations: 385.5 kB / 1.272 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/1.321, allocations: 127.4 kB / 1.272 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/1.321, allocations: 146.4 kB / 1.272 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/1.321, allocations: 13.03 kB / 1.272 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/1.321, allocations: 1.672 kB / 1.272 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001389/1.322, allocations: 1.09 MB / 1.273 GB, free: 224.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004427/1.327, allocations: 3.047 MB / 1.276 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/1.327, allocations: 13.38 kB / 1.276 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007083/1.328, allocations: 159.6 kB / 1.276 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003325/1.328, allocations: 104.5 kB / 1.277 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.118e-05/1.328, allocations: 34.77 kB / 1.277 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/1.33, allocations: 2.876 MB / 1.279 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/1.33, allocations: 15.72 kB / 1.279 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/1.332, allocations: 1.743 MB / 1.281 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004956/1.332, allocations: 299.4 kB / 1.281 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/1.333, allocations: 32.34 kB / 1.281 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/1.334, allocations: 77.48 kB / 1.282 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/1.334, allocations: 88.91 kB / 1.282 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.766e-05/1.334, allocations: 40.61 kB / 1.282 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007959/1.335, allocations: 0.6973 MB / 1.282 GB, free: 219 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.335, allocations: 0 / 1.282 GB, free: 219 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001062/1.336, allocations: 381.7 kB / 1.283 GB, free: 218.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * 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 (85): * Single equations (assignments): 83 * 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): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002317/1.338, allocations: 2.416 MB / 1.285 GB, free: 217.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001117/1.339, allocations: 0.83 MB / 1.286 GB, free: 217 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.339, allocations: 3.938 kB / 1.286 GB, free: 217 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007252/1.34, allocations: 0.6679 MB / 1.287 GB, free: 216.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003539/1.343, allocations: 0.891 MB / 1.287 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/1.355, allocations: 10.68 MB / 1.298 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/1.355, allocations: 1.249 MB / 1.299 GB, free: 204.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00121/1.356, allocations: 346.4 kB / 1.299 GB, free: 203.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005056/1.357, allocations: 479.2 kB / 1.3 GB, free: 203.3 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/1.357, allocations: 0 / 1.3 GB, free: 203.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04662/1.404, allocations: 36.82 MB / 1.336 GB, free: 167 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/1.404, allocations: 282.4 kB / 1.336 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.725/4.129, allocations: 0 / 1.336 GB, free: 166.6 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches