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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.004844/0.004844, allocations: 100.5 kB / 15.73 MB, free: 6.047 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.001391/0.001391, allocations: 195.4 kB / 16.67 MB, free: 5.949 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.244/2.244, allocations: 437.1 MB / 0.7105 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 67.83 kB / 1.018 GB, free: 9.844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5847/0.5864, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2044/0.7908, allocations: 209.9 MB / 1.371 GB, free: 1.062 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01276/0.8036, allocations: 9.87 MB / 1.381 GB, free: 7.176 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006716/0.8043, allocations: 55.69 kB / 1.381 GB, free: 7.121 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.8059, allocations: 0.7726 MB / 1.382 GB, free: 6.344 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004938/0.8108, allocations: 2.8 MB / 1.384 GB, free: 3.531 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002543/0.8134, allocations: 1.39 MB / 1.386 GB, free: 2.148 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003887/0.8173, allocations: 4.064 MB / 1.39 GB, free: 14.07 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.8187, allocations: 1.317 MB / 1.391 GB, free: 12.71 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.8202, allocations: 1.362 MB / 1.392 GB, free: 11.35 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.8221, allocations: 1.229 MB / 1.394 GB, free: 10.12 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002105/0.8223, allocations: 144 kB / 1.394 GB, free: 9.98 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003517/0.8258, allocations: 2.385 MB / 1.396 GB, free: 7.59 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005526/0.8264, allocations: 0.6077 MB / 1.397 GB, free: 6.98 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008102/0.8272, allocations: 0.8517 MB / 1.397 GB, free: 6.125 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003205/0.8304, allocations: 3.017 MB / 1.4 GB, free: 3.098 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.8304, allocations: 0 / 1.4 GB, free: 3.098 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.032e-06/0.8304, allocations: 0 / 1.4 GB, free: 3.098 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.8305, allocations: 0 / 1.4 GB, free: 3.098 MB / 1.123 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.002588/0.833, allocations: 1.955 MB / 1.402 GB, free: 1.086 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.8331, allocations: 8.922 kB / 1.402 GB, free: 1.078 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001936/0.8333, allocations: 164.8 kB / 1.402 GB, free: 0.9062 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002708/0.836, allocations: 494.5 kB / 1.403 GB, free: 432 kB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.8377, allocations: 1.148 MB / 1.404 GB, free: 15.23 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.236e-05/0.8378, allocations: 82.14 kB / 1.404 GB, free: 15.15 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.8379, allocations: 108 kB / 1.404 GB, free: 15.04 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.8396, allocations: 1.165 MB / 1.405 GB, free: 13.85 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.8397, allocations: 0 / 1.405 GB, free: 13.85 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-05/0.8398, allocations: 44 kB / 1.405 GB, free: 13.8 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-05/0.8398, allocations: 46.12 kB / 1.405 GB, free: 13.76 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.8414, allocations: 1.07 MB / 1.406 GB, free: 12.68 MB / 1.139 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.00519/0.8466, allocations: 4.213 MB / 1.411 GB, free: 8.188 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.8478, allocations: 0.786 MB / 1.411 GB, free: 7.395 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000624/0.8484, allocations: 482.2 kB / 1.412 GB, free: 6.926 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003732/0.8488, allocations: 296.3 kB / 1.412 GB, free: 6.582 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.8488, allocations: 43.56 kB / 1.412 GB, free: 6.527 MB / 1.139 GB Notification: Performance of pre-optimization done (n=83): time 1.663e-06/0.8488, allocations: 4 kB / 1.412 GB, free: 6.523 MB / 1.139 GB Notification: Performance of matching and sorting (n=89): time 0.004826/0.8537, allocations: 2.87 MB / 1.415 GB, free: 3.566 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.8537, allocations: 64.41 kB / 1.415 GB, free: 3.492 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.8548, allocations: 0.9716 MB / 1.416 GB, free: 2.504 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.721e-05/0.8549, allocations: 41.7 kB / 1.416 GB, free: 2.457 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.00042/0.8553, allocations: 0.5481 MB / 1.417 GB, free: 1.902 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/0.8556, allocations: 333.2 kB / 1.417 GB, free: 1.574 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.8558, allocations: 154.6 kB / 1.417 GB, free: 1.414 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.8559, allocations: 345.9 kB / 1.417 GB, free: 1.07 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/0.8564, allocations: 337.8 kB / 1.418 GB, free: 0.7422 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/0.8571, allocations: 481.9 kB / 1.418 GB, free: 240 kB / 1.139 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.005575/0.8626, allocations: 3.04 MB / 1.421 GB, free: 13.11 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.8627, allocations: 0 / 1.421 GB, free: 13.11 MB / 1.154 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001403/0.8641, allocations: 1.02 MB / 1.422 GB, free: 12.08 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.8641, allocations: 8 kB / 1.422 GB, free: 12.07 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.8641, allocations: 4.375 kB / 1.422 GB, free: 12.07 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.8641, allocations: 8 kB / 1.422 GB, free: 12.06 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000656/0.8648, allocations: 183.7 kB / 1.422 GB, free: 11.88 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.8648, allocations: 8 kB / 1.422 GB, free: 11.88 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007574/0.8656, allocations: 31.94 kB / 1.422 GB, free: 11.84 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-05/0.8656, allocations: 36 kB / 1.422 GB, free: 11.81 MB / 1.154 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.0004464/0.8661, allocations: 377.5 kB / 1.423 GB, free: 11.43 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.8663, allocations: 135.1 kB / 1.423 GB, free: 11.3 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.8666, allocations: 152.3 kB / 1.423 GB, free: 11.14 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.8666, allocations: 8 kB / 1.423 GB, free: 11.14 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.8666, allocations: 4.047 kB / 1.423 GB, free: 11.13 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001415/0.868, allocations: 1.09 MB / 1.424 GB, free: 9.965 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004184/0.8722, allocations: 3.058 MB / 1.427 GB, free: 6.727 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.8722, allocations: 13 kB / 1.427 GB, free: 6.715 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006355/0.8729, allocations: 163.7 kB / 1.427 GB, free: 6.555 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00028/0.8731, allocations: 101.7 kB / 1.427 GB, free: 6.449 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-05/0.8732, allocations: 28 kB / 1.427 GB, free: 6.422 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002448/0.8757, allocations: 3.09 MB / 1.43 GB, free: 3.055 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/0.8757, allocations: 19.92 kB / 1.43 GB, free: 3.035 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.8779, allocations: 1.734 MB / 1.432 GB, free: 1.164 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004093/0.8783, allocations: 316.2 kB / 1.432 GB, free: 0.8359 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.8784, allocations: 31.94 kB / 1.432 GB, free: 0.8047 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007651/0.8792, allocations: 39.97 kB / 1.432 GB, free: 0.7656 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.8793, allocations: 88.11 kB / 1.433 GB, free: 0.6797 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.498e-05/0.8794, allocations: 48.11 kB / 1.433 GB, free: 0.6328 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008072/0.8802, allocations: 0.6956 MB / 1.433 GB, free: 15.93 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8802, allocations: 4 kB / 1.433 GB, free: 15.93 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008387/0.8811, allocations: 371.9 kB / 1.434 GB, free: 15.56 MB / 1.17 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.002821/0.8839, allocations: 2.425 MB / 1.436 GB, free: 13 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001196/0.8851, allocations: 0.8441 MB / 1.437 GB, free: 12.16 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.8851, allocations: 0 / 1.437 GB, free: 12.16 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0008552/0.886, allocations: 0.6767 MB / 1.437 GB, free: 11.45 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003492/0.8895, allocations: 0.9101 MB / 1.438 GB, free: 10.55 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.9011, allocations: 9.73 MB / 1.448 GB, free: 396 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008771/0.902, allocations: 1.249 MB / 1.449 GB, free: 15.11 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008489/0.9028, allocations: 347 kB / 1.449 GB, free: 14.77 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005929/0.9034, allocations: 471.3 kB / 1.45 GB, free: 14.3 MB / 1.186 GB Notification: Performance of SimCode: time 2.41e-07/0.9034, allocations: 0 / 1.45 GB, free: 14.3 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.432/8.336, allocations: 38.42 MB / 1.487 GB, free: 8.328 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.99/25.33, allocations: 14.38 kB / 1.487 GB, free: 8.316 MB / 1.217 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=400 --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