Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_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.001062/0.001062, allocations: 90.36 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.006857/0.006857, allocations: 170.7 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.34/1.34, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.644/2.644, allocations: 462.6 MB / 0.7364 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003386, allocations: 12.16 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2724, allocations: 159.6 MB / 1.059 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.735/1.007, allocations: 204.9 MB / 1.259 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01142/1.019, allocations: 9.849 MB / 1.268 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/1.02, allocations: 52.53 kB / 1.268 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001613/1.022, allocations: 0.6624 MB / 1.269 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005864/1.028, allocations: 2.65 MB / 1.272 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003013/1.031, allocations: 1.257 MB / 1.273 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006484/1.037, allocations: 5.639 MB / 1.278 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/1.039, allocations: 1.091 MB / 1.28 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002485/1.042, allocations: 1.133 MB / 1.281 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003238/1.045, allocations: 1.223 MB / 1.282 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002672/1.045, allocations: 56.19 kB / 1.282 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005618/1.051, allocations: 2.747 MB / 1.285 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000998/1.052, allocations: 0.5102 MB / 1.285 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001918/1.054, allocations: 0.7708 MB / 1.286 GB, free: 18.14 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005785/1.06, allocations: 3.044 MB / 1.289 GB, free: 17.98 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.06, allocations: 0 / 1.289 GB, free: 17.98 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.395e-06/1.06, allocations: 0.9688 kB / 1.289 GB, free: 17.98 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.491e-05/1.06, allocations: 0 / 1.289 GB, free: 17.98 MB / 1.014 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.002788/1.063, allocations: 1.593 MB / 1.29 GB, free: 17.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/1.063, allocations: 8.844 kB / 1.29 GB, free: 17.09 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002074/1.063, allocations: 172.3 kB / 1.291 GB, free: 17.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003132/1.066, allocations: 493.4 kB / 1.291 GB, free: 16.96 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/1.068, allocations: 1.057 MB / 1.292 GB, free: 16.6 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.874e-05/1.068, allocations: 84.67 kB / 1.292 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/1.068, allocations: 111.2 kB / 1.292 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/1.07, allocations: 1.165 MB / 1.293 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/1.07, allocations: 0 / 1.293 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/1.07, allocations: 45.47 kB / 1.293 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.965e-05/1.07, allocations: 47.02 kB / 1.293 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/1.072, allocations: 1.076 MB / 1.294 GB, free: 16.48 MB / 1.014 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.005384/1.077, allocations: 4.218 MB / 1.299 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/1.078, allocations: 0.7847 MB / 1.299 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005948/1.079, allocations: 485.5 kB / 1.3 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003805/1.079, allocations: 289.6 kB / 1.3 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/1.079, allocations: 47.39 kB / 1.3 GB, free: 14.46 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 2.274e-06/1.079, allocations: 4 kB / 1.3 GB, free: 14.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=89): time 0.005202/1.084, allocations: 2.85 MB / 1.303 GB, free: 13.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/1.084, allocations: 66.06 kB / 1.303 GB, free: 13.63 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/1.085, allocations: 0.9757 MB / 1.304 GB, free: 13.48 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.207e-05/1.085, allocations: 45.27 kB / 1.304 GB, free: 13.45 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/1.086, allocations: 0.5458 MB / 1.305 GB, free: 13.25 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/1.086, allocations: 312.1 kB / 1.305 GB, free: 13.05 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.426e-05/1.086, allocations: 78.59 kB / 1.305 GB, free: 13.03 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001137/1.086, allocations: 338.1 kB / 1.305 GB, free: 12.72 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004745/1.087, allocations: 340.1 kB / 1.306 GB, free: 12.72 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005871/1.087, allocations: 487.6 kB / 1.306 GB, free: 12.6 MB / 1.014 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.005593/1.093, allocations: 3.047 MB / 1.309 GB, free: 12.15 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/1.093, allocations: 0 / 1.309 GB, free: 12.15 MB / 1.014 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001367/1.094, allocations: 1.014 MB / 1.31 GB, free: 12.03 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/1.094, allocations: 9.859 kB / 1.31 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.094, allocations: 2.969 kB / 1.31 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/1.094, allocations: 6.5 kB / 1.31 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006864/1.095, allocations: 182.4 kB / 1.31 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/1.095, allocations: 9.406 kB / 1.31 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/1.096, allocations: 85.75 kB / 1.31 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/1.096, allocations: 30.38 kB / 1.31 GB, free: 12 MB / 1.014 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: 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.0005516/1.097, allocations: 376.4 kB / 1.311 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/1.097, allocations: 123.7 kB / 1.311 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/1.097, allocations: 144.8 kB / 1.311 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/1.097, allocations: 13.44 kB / 1.311 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/1.097, allocations: 3.344 kB / 1.311 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00129/1.099, allocations: 1.097 MB / 1.312 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004136/1.103, allocations: 3.048 MB / 1.315 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/1.103, allocations: 16.58 kB / 1.315 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006557/1.104, allocations: 162.5 kB / 1.315 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003132/1.104, allocations: 106.1 kB / 1.315 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/1.104, allocations: 33.41 kB / 1.315 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/1.106, allocations: 2.864 MB / 1.318 GB, free: 8.203 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.325e-06/1.106, allocations: 14.12 kB / 1.318 GB, free: 8.203 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/1.108, allocations: 1.741 MB / 1.32 GB, free: 7.625 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006333/1.109, allocations: 308.1 kB / 1.32 GB, free: 7.465 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/1.109, allocations: 28.75 kB / 1.32 GB, free: 7.465 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/1.11, allocations: 80.59 kB / 1.32 GB, free: 7.449 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/1.11, allocations: 88.22 kB / 1.32 GB, free: 7.438 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.572e-05/1.11, allocations: 47.62 kB / 1.32 GB, free: 7.438 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007977/1.111, allocations: 0.7003 MB / 1.321 GB, free: 7.324 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.111, allocations: 0 / 1.321 GB, free: 7.324 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001174/1.112, allocations: 378 kB / 1.321 GB, free: 7.32 MB / 1.014 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.002661/1.115, allocations: 2.415 MB / 1.324 GB, free: 6.184 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001326/1.116, allocations: 0.8275 MB / 1.325 GB, free: 6.16 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.116, allocations: 3.281 kB / 1.325 GB, free: 6.16 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000862/1.117, allocations: 0.6698 MB / 1.325 GB, free: 5.934 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005342/1.123, allocations: 0.8857 MB / 1.326 GB, free: 5.859 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/1.136, allocations: 10.82 MB / 1.337 GB, free: 1.23 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007807/1.137, allocations: 1.249 MB / 1.338 GB, free: 0.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001358/1.138, allocations: 339.1 kB / 1.338 GB, free: 436 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005324/1.139, allocations: 474.3 kB / 1.339 GB, free: 428 kB / 1.014 GB Notification: Performance of SimCode: time 7.31e-07/1.139, allocations: 7.938 kB / 1.339 GB, free: 420 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06019/1.199, allocations: 36.56 MB / 1.374 GB, free: 11.95 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/1.199, allocations: 277.8 kB / 1.375 GB, free: 11.58 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.75/3.949, allocations: 0 / 1.375 GB, free: 11.58 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches