Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",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.007257/0.007257, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.001818/0.001819, allocations: 192 kB / 16.67 MB, free: 5.48 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.377/2.377, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 63.91 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.626/0.6278, allocations: 159.2 MB / 1.22 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2157/0.8436, allocations: 222.6 MB / 1.438 GB, free: 2.617 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01611/0.8597, allocations: 12.11 MB / 1.449 GB, free: 6.48 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001738/0.8615, allocations: 75.56 kB / 1.449 GB, free: 6.406 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.8636, allocations: 0.8616 MB / 1.45 GB, free: 5.539 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006326/0.8699, allocations: 2.858 MB / 1.453 GB, free: 2.668 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003199/0.8732, allocations: 1.445 MB / 1.455 GB, free: 1.23 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00514/0.8783, allocations: 4.455 MB / 1.459 GB, free: 12.76 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002204/0.8805, allocations: 1.717 MB / 1.461 GB, free: 11 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004686/0.8852, allocations: 2.468 MB / 1.463 GB, free: 8.523 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002747/0.888, allocations: 1.558 MB / 1.464 GB, free: 6.98 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003974/0.8884, allocations: 183.9 kB / 1.465 GB, free: 6.801 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003651/0.892, allocations: 2.163 MB / 1.467 GB, free: 4.633 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006553/0.8927, allocations: 0.709 MB / 1.467 GB, free: 3.922 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.8937, allocations: 1.046 MB / 1.468 GB, free: 2.871 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003602/0.8973, allocations: 3.328 MB / 1.472 GB, free: 15.53 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.8974, allocations: 0 / 1.472 GB, free: 15.53 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.032e-06/0.8974, allocations: 0 / 1.472 GB, free: 15.53 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.583e-05/0.8974, allocations: 4 kB / 1.472 GB, free: 15.53 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003198/0.9006, allocations: 2.344 MB / 1.474 GB, free: 13.12 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.9006, allocations: 12.03 kB / 1.474 GB, free: 13.11 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002308/0.9009, allocations: 202.8 kB / 1.474 GB, free: 12.91 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002642/0.9035, allocations: 0.5061 MB / 1.475 GB, free: 12.4 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.9055, allocations: 1.357 MB / 1.476 GB, free: 10.98 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.077e-05/0.9056, allocations: 114.8 kB / 1.476 GB, free: 10.87 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/0.9058, allocations: 148 kB / 1.476 GB, free: 10.73 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/0.9082, allocations: 1.76 MB / 1.478 GB, free: 8.855 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.9082, allocations: 7.938 kB / 1.478 GB, free: 8.848 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.9084, allocations: 56 kB / 1.478 GB, free: 8.793 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.191e-05/0.9084, allocations: 54.53 kB / 1.478 GB, free: 8.738 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.9105, allocations: 1.403 MB / 1.48 GB, free: 7.328 MB / 1.201 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.007532/0.918, allocations: 7.321 MB / 1.487 GB, free: 15.63 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.9195, allocations: 1.044 MB / 1.488 GB, free: 14.55 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009068/0.9204, allocations: 0.6983 MB / 1.488 GB, free: 13.84 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001969/0.9207, allocations: 122.2 kB / 1.488 GB, free: 13.7 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.9207, allocations: 51.5 kB / 1.489 GB, free: 13.64 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008543/0.9216, allocations: 310.9 kB / 1.489 GB, free: 13.34 MB / 1.217 GB Notification: Performance of pre-optimization done (n=106): time 2.455e-06/0.9216, allocations: 0 / 1.489 GB, free: 13.34 MB / 1.217 GB Notification: Performance of matching and sorting (n=112): time 0.007164/0.9287, allocations: 4.525 MB / 1.493 GB, free: 8.742 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.562e-05/0.9288, allocations: 179.1 kB / 1.493 GB, free: 8.531 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.9302, allocations: 1.271 MB / 1.495 GB, free: 7.25 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.196e-05/0.9303, allocations: 49.7 kB / 1.495 GB, free: 7.195 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005158/0.9308, allocations: 0.7098 MB / 1.495 GB, free: 6.48 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000323/0.9312, allocations: 416.4 kB / 1.496 GB, free: 6.07 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003625/0.9315, allocations: 267.5 kB / 1.496 GB, free: 5.801 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.9317, allocations: 357.9 kB / 1.496 GB, free: 5.445 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.9328, allocations: 0.5271 MB / 1.497 GB, free: 4.918 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.9338, allocations: 0.8557 MB / 1.498 GB, free: 3.938 MB / 1.217 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 (sin.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: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.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: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/0.9444, allocations: 4.795 MB / 1.502 GB, free: 14.98 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.9444, allocations: 4 kB / 1.502 GB, free: 14.98 MB / 1.232 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002306/0.9467, allocations: 1.62 MB / 1.504 GB, free: 13.35 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.9467, allocations: 12 kB / 1.504 GB, free: 13.34 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.9468, allocations: 8 kB / 1.504 GB, free: 13.33 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.9468, allocations: 12 kB / 1.504 GB, free: 13.32 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.9478, allocations: 295.5 kB / 1.504 GB, free: 13.03 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-05/0.9479, allocations: 24.44 kB / 1.504 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.9489, allocations: 54.8 kB / 1.504 GB, free: 12.95 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.949, allocations: 67.95 kB / 1.504 GB, free: 12.89 MB / 1.232 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 vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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.0005574/0.9496, allocations: 426.4 kB / 1.505 GB, free: 12.46 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002795/0.9498, allocations: 167 kB / 1.505 GB, free: 12.3 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/0.9518, allocations: 1.298 MB / 1.506 GB, free: 10.99 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.9518, allocations: 15.94 kB / 1.506 GB, free: 10.97 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.9518, allocations: 3.938 kB / 1.506 GB, free: 10.97 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001519/0.9534, allocations: 1.244 MB / 1.508 GB, free: 9.656 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005115/0.9585, allocations: 3.754 MB / 1.511 GB, free: 5.703 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.9585, allocations: 15.98 kB / 1.511 GB, free: 5.688 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.9595, allocations: 239.7 kB / 1.511 GB, free: 5.453 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.711e-05/0.9596, allocations: 23.88 kB / 1.511 GB, free: 5.43 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.651e-05/0.9596, allocations: 39.98 kB / 1.511 GB, free: 5.391 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.437e-05/0.9597, allocations: 16.47 kB / 1.512 GB, free: 5.375 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/0.9597, allocations: 19.94 kB / 1.512 GB, free: 5.355 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.9623, allocations: 2.126 MB / 1.514 GB, free: 3.078 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004859/0.9628, allocations: 371.9 kB / 1.514 GB, free: 2.695 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.9629, allocations: 39.92 kB / 1.514 GB, free: 2.656 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009192/0.9639, allocations: 54.27 kB / 1.514 GB, free: 2.605 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.964, allocations: 100.3 kB / 1.514 GB, free: 2.504 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.361e-05/0.9641, allocations: 55.98 kB / 1.514 GB, free: 2.449 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009972/0.9651, allocations: 0.849 MB / 1.515 GB, free: 1.602 MB / 1.232 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9651, allocations: 0 / 1.515 GB, free: 1.602 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001037/0.9662, allocations: 432 kB / 1.515 GB, free: 1.18 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * 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 (115): * Single equations (assignments): 115 * 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.003178/0.9693, allocations: 2.822 MB / 1.518 GB, free: 14.21 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001785/0.9711, allocations: 1.247 MB / 1.519 GB, free: 12.96 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.9712, allocations: 3.938 kB / 1.519 GB, free: 12.96 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0007377/0.9719, allocations: 0.5468 MB / 1.52 GB, free: 12.42 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003613/0.9755, allocations: 0.929 MB / 1.521 GB, free: 11.51 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01551/0.991, allocations: 12.73 MB / 1.533 GB, free: 14.09 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009587/0.992, allocations: 1.372 MB / 1.535 GB, free: 12.68 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001081/0.9931, allocations: 385.3 kB / 1.535 GB, free: 12.3 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008355/0.9939, allocations: 0.6399 MB / 1.536 GB, free: 11.66 MB / 1.264 GB Notification: Performance of SimCode: time 3.2e-07/0.994, allocations: 0 / 1.536 GB, free: 11.66 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.432/5.426, allocations: 43.26 MB / 1.578 GB, free: 337.7 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.27/27.7, allocations: 6.438 kB / 1.578 GB, free: 337.7 MB / 1.279 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches