Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_latest_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.009546/0.009546, allocations: 100.7 kB / 15.73 MB, free: 6.453 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.002078/0.002078, allocations: 184.8 kB / 16.67 MB, free: 6.367 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 67.84 kB / 1.054 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3202, allocations: 157.4 MB / 1.207 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.9735/1.294, allocations: 222.6 MB / 1.425 GB, free: 5.281 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01924/1.313, allocations: 12.12 MB / 1.437 GB, free: 11.4 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002952/1.316, allocations: 75.03 kB / 1.437 GB, free: 11.37 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002761/1.319, allocations: 0.8571 MB / 1.437 GB, free: 10.64 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.008046/1.327, allocations: 2.866 MB / 1.44 GB, free: 8.398 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004365/1.331, allocations: 1.438 MB / 1.442 GB, free: 7.039 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.007355/1.339, allocations: 4.462 MB / 1.446 GB, free: 2.574 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003027/1.342, allocations: 1.707 MB / 1.448 GB, free: 0.832 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006932/1.349, allocations: 2.506 MB / 1.45 GB, free: 14.33 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003598/1.352, allocations: 1.559 MB / 1.452 GB, free: 12.79 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0009582/1.353, allocations: 180 kB / 1.452 GB, free: 12.61 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006418/1.36, allocations: 2.159 MB / 1.454 GB, free: 10.45 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001556/1.361, allocations: 0.7051 MB / 1.455 GB, free: 9.738 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002729/1.364, allocations: 1.042 MB / 1.456 GB, free: 8.691 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.007964/1.372, allocations: 3.334 MB / 1.459 GB, free: 5.348 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/1.372, allocations: 0 / 1.459 GB, free: 5.348 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.424e-06/1.372, allocations: 0 / 1.459 GB, free: 5.348 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001059/1.372, allocations: 3.984 kB / 1.459 GB, free: 5.344 MB / 1.139 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.005828/1.378, allocations: 2.282 MB / 1.461 GB, free: 3.008 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/1.378, allocations: 8.625 kB / 1.461 GB, free: 3 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005006/1.379, allocations: 206.8 kB / 1.461 GB, free: 2.789 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003735/1.382, allocations: 0.4972 MB / 1.462 GB, free: 2.289 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003582/1.386, allocations: 1.341 MB / 1.463 GB, free: 0.8906 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/1.386, allocations: 114.8 kB / 1.463 GB, free: 0.7773 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004745/1.387, allocations: 151.9 kB / 1.463 GB, free: 0.6289 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003954/1.391, allocations: 1.771 MB / 1.465 GB, free: 14.75 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.621e-05/1.391, allocations: 0 / 1.465 GB, free: 14.75 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002198/1.391, allocations: 60 kB / 1.465 GB, free: 14.69 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-05/1.391, allocations: 54.53 kB / 1.465 GB, free: 14.64 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003026/1.394, allocations: 1.395 MB / 1.467 GB, free: 13.23 MB / 1.154 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.01282/1.407, allocations: 7.292 MB / 1.474 GB, free: 5.559 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/1.409, allocations: 1.05 MB / 1.475 GB, free: 4.465 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/1.41, allocations: 0.6906 MB / 1.475 GB, free: 3.762 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00025/1.41, allocations: 122 kB / 1.476 GB, free: 3.625 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/1.41, allocations: 47.5 kB / 1.476 GB, free: 3.57 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001243/1.412, allocations: 306.8 kB / 1.476 GB, free: 3.27 MB / 1.154 GB Notification: Performance of pre-optimization done (n=106): time 7.775e-06/1.412, allocations: 0 / 1.476 GB, free: 3.27 MB / 1.154 GB Notification: Performance of matching and sorting (n=112): time 0.009219/1.421, allocations: 4.44 MB / 1.48 GB, free: 14.74 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.291e-05/1.421, allocations: 171.2 kB / 1.48 GB, free: 14.54 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/1.423, allocations: 1.259 MB / 1.482 GB, free: 13.27 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001729/1.423, allocations: 53.7 kB / 1.482 GB, free: 13.21 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005674/1.424, allocations: 0.7046 MB / 1.482 GB, free: 12.5 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004265/1.424, allocations: 398.2 kB / 1.483 GB, free: 12.11 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004843/1.425, allocations: 263.4 kB / 1.483 GB, free: 11.84 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000202/1.425, allocations: 357.9 kB / 1.483 GB, free: 11.49 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009078/1.426, allocations: 0.527 MB / 1.484 GB, free: 10.96 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/1.427, allocations: 0.8518 MB / 1.485 GB, free: 9.984 MB / 1.17 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.01233/1.439, allocations: 4.799 MB / 1.489 GB, free: 5.023 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/1.439, allocations: 0 / 1.489 GB, free: 5.023 MB / 1.17 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003043/1.442, allocations: 1.624 MB / 1.491 GB, free: 3.391 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/1.443, allocations: 8 kB / 1.491 GB, free: 3.383 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/1.443, allocations: 11.94 kB / 1.491 GB, free: 3.371 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.232e-05/1.443, allocations: 16 kB / 1.491 GB, free: 3.355 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/1.444, allocations: 291.5 kB / 1.491 GB, free: 3.07 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.72e-05/1.444, allocations: 19.94 kB / 1.491 GB, free: 3.051 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/1.445, allocations: 63.55 kB / 1.491 GB, free: 2.992 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/1.445, allocations: 63.97 kB / 1.491 GB, free: 2.93 MB / 1.17 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.0008217/1.446, allocations: 426.1 kB / 1.492 GB, free: 2.504 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004858/1.447, allocations: 158.1 kB / 1.492 GB, free: 2.348 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/1.449, allocations: 1.295 MB / 1.493 GB, free: 1.039 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/1.449, allocations: 12 kB / 1.493 GB, free: 1.027 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/1.449, allocations: 4 kB / 1.493 GB, free: 1.023 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001697/1.451, allocations: 1.245 MB / 1.494 GB, free: 15.71 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006745/1.458, allocations: 3.758 MB / 1.498 GB, free: 11.76 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/1.458, allocations: 8 kB / 1.498 GB, free: 11.75 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/1.459, allocations: 247.6 kB / 1.498 GB, free: 11.51 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-05/1.459, allocations: 12 kB / 1.498 GB, free: 11.5 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/1.459, allocations: 43.92 kB / 1.498 GB, free: 11.45 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.591e-05/1.459, allocations: 19.94 kB / 1.498 GB, free: 11.43 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-05/1.459, allocations: 19.94 kB / 1.498 GB, free: 11.41 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002836/1.462, allocations: 2.125 MB / 1.5 GB, free: 9.137 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008547/1.463, allocations: 359 kB / 1.501 GB, free: 8.766 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000279/1.463, allocations: 43.92 kB / 1.501 GB, free: 8.723 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/1.464, allocations: 51.97 kB / 1.501 GB, free: 8.676 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/1.464, allocations: 104.4 kB / 1.501 GB, free: 8.574 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/1.465, allocations: 51.92 kB / 1.501 GB, free: 8.523 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001295/1.466, allocations: 0.8529 MB / 1.502 GB, free: 7.672 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/1.466, allocations: 0 / 1.502 GB, free: 7.672 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001582/1.467, allocations: 432 kB / 1.502 GB, free: 7.25 MB / 1.186 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.003586/1.471, allocations: 2.806 MB / 1.505 GB, free: 4.289 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002235/1.473, allocations: 1.246 MB / 1.506 GB, free: 3.047 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/1.473, allocations: 4 kB / 1.506 GB, free: 3.043 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000858/1.474, allocations: 0.5487 MB / 1.507 GB, free: 2.496 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0049/1.479, allocations: 0.931 MB / 1.508 GB, free: 1.582 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01926/1.498, allocations: 12.68 MB / 1.52 GB, free: 4.227 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/1.5, allocations: 1.372 MB / 1.521 GB, free: 2.82 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001486/1.501, allocations: 373.3 kB / 1.522 GB, free: 2.449 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009694/1.502, allocations: 0.6399 MB / 1.522 GB, free: 1.812 MB / 1.201 GB Notification: Performance of SimCode: time 9.91e-07/1.502, allocations: 4 kB / 1.522 GB, free: 1.809 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09779/1.6, allocations: 44.04 MB / 1.565 GB, free: 6.328 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/17.29, allocations: 7.5 kB / 1.565 GB, free: 6.324 MB / 1.248 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches