Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_10_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.0009818/0.0009818, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001275/0.001275, allocations: 179 kB / 16.27 MB, free: 6.664 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.333/1.333, allocations: 223.3 MB / 240.3 MB, free: 5.316 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.455/2.455, allocations: 437.8 MB / 0.7121 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003734, allocations: 8 kB / 0.8729 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5901/0.5905, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2114/0.802, allocations: 217.3 MB / 1.235 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.5875/1.389, allocations: 12.08 MB / 1.247 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/1.391, allocations: 65.52 kB / 1.247 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001738/1.393, allocations: 0.7083 MB / 1.248 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006675/1.4, allocations: 2.698 MB / 1.251 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003099/1.403, allocations: 1.286 MB / 1.252 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008408/1.411, allocations: 6.084 MB / 1.258 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002299/1.413, allocations: 1.447 MB / 1.259 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005516/1.419, allocations: 2.155 MB / 1.261 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00371/1.423, allocations: 1.519 MB / 1.263 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002422/1.423, allocations: 77.59 kB / 1.263 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005293/1.428, allocations: 2.444 MB / 1.265 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007386/1.429, allocations: 0.5917 MB / 1.266 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001501/1.43, allocations: 0.9391 MB / 1.267 GB, free: 17.82 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004984/1.435, allocations: 3.291 MB / 1.27 GB, free: 17.63 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.435, allocations: 1.375 kB / 1.27 GB, free: 17.63 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.313e-06/1.435, allocations: 2.906 kB / 1.27 GB, free: 17.63 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.72e-05/1.435, allocations: 0 / 1.27 GB, free: 17.63 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003036/1.439, allocations: 1.892 MB / 1.272 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/1.439, allocations: 9.469 kB / 1.272 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002233/1.439, allocations: 207.5 kB / 1.272 GB, free: 16.56 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002778/1.442, allocations: 0.4992 MB / 1.272 GB, free: 16.45 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/1.443, allocations: 1.254 MB / 1.274 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.451e-05/1.443, allocations: 107.9 kB / 1.274 GB, free: 16.03 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/1.444, allocations: 151.8 kB / 1.274 GB, free: 16.03 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/1.446, allocations: 1.759 MB / 1.276 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/1.446, allocations: 6.312 kB / 1.276 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/1.446, allocations: 70.08 kB / 1.276 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.337e-05/1.446, allocations: 52 kB / 1.276 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/1.448, allocations: 1.402 MB / 1.277 GB, free: 15.68 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.006856/1.455, allocations: 7.317 MB / 1.284 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/1.456, allocations: 1.048 MB / 1.285 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007685/1.457, allocations: 0.6953 MB / 1.286 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/1.457, allocations: 110.1 kB / 1.286 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/1.457, allocations: 53.75 kB / 1.286 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001018/1.458, allocations: 306.1 kB / 1.286 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=106): time 4.148e-06/1.458, allocations: 0 / 1.286 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=112): time 0.006857/1.465, allocations: 4.431 MB / 1.291 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/1.465, allocations: 166.5 kB / 1.291 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/1.466, allocations: 1.267 MB / 1.292 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.279e-05/1.466, allocations: 50.3 kB / 1.292 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004033/1.467, allocations: 0.699 MB / 1.293 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003056/1.467, allocations: 404.9 kB / 1.293 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/1.467, allocations: 124.7 kB / 1.293 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.467, allocations: 354.9 kB / 1.294 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006599/1.468, allocations: 0.5187 MB / 1.294 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008588/1.469, allocations: 0.8499 MB / 1.295 GB, free: 8.41 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 (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.01023/1.479, allocations: 4.76 MB / 1.3 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/1.479, allocations: 2.781 kB / 1.3 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002228/1.481, allocations: 1.599 MB / 1.301 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.481, allocations: 13.25 kB / 1.301 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/1.481, allocations: 8.594 kB / 1.301 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/1.481, allocations: 16.39 kB / 1.301 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/1.482, allocations: 289 kB / 1.302 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/1.482, allocations: 23.5 kB / 1.302 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/1.484, allocations: 114.9 kB / 1.302 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.199e-05/1.484, allocations: 60.48 kB / 1.302 GB, free: 7.551 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 sytem: 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.0006909/1.485, allocations: 420.6 kB / 1.302 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/1.485, allocations: 166.9 kB / 1.302 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/1.487, allocations: 1.275 MB / 1.304 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/1.487, allocations: 11.53 kB / 1.304 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/1.487, allocations: 4 kB / 1.304 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001271/1.488, allocations: 1.243 MB / 1.305 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005042/1.493, allocations: 3.749 MB / 1.309 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/1.493, allocations: 8.625 kB / 1.309 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/1.494, allocations: 247.1 kB / 1.309 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/1.494, allocations: 14.53 kB / 1.309 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.905e-05/1.494, allocations: 39.11 kB / 1.309 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.269e-05/1.494, allocations: 24.03 kB / 1.309 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/1.494, allocations: 18.25 kB / 1.309 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002398/1.497, allocations: 2.106 MB / 1.311 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007263/1.497, allocations: 357.1 kB / 1.311 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/1.497, allocations: 39.12 kB / 1.311 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.499, allocations: 95.53 kB / 1.311 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/1.499, allocations: 96.38 kB / 1.311 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.69e-05/1.499, allocations: 52.72 kB / 1.312 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001019/1.5, allocations: 0.8487 MB / 1.312 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.5, allocations: 4 kB / 1.312 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001393/1.501, allocations: 436.5 kB / 1.313 GB, free: 4.914 MB / 0.9981 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.002872/1.504, allocations: 2.775 MB / 1.315 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001766/1.506, allocations: 1.211 MB / 1.317 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.506, allocations: 2.281 kB / 1.317 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006158/1.507, allocations: 0.5448 MB / 1.317 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005585/1.512, allocations: 0.8939 MB / 1.318 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01823/1.53, allocations: 14.39 MB / 1.332 GB, free: 13.21 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/1.532, allocations: 1.377 MB / 1.333 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001704/1.533, allocations: 384.2 kB / 1.334 GB, free: 12.07 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008475/1.534, allocations: 0.6412 MB / 1.334 GB, free: 12.01 MB / 1.014 GB Notification: Performance of SimCode: time 8.32e-07/1.534, allocations: 0 / 1.334 GB, free: 12.01 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4821/2.016, allocations: 40.9 MB / 1.374 GB, free: 10.31 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002696/2.017, allocations: 279 kB / 1.375 GB, free: 9.934 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.703/4.719, allocations: 0 / 1.375 GB, free: 9.934 MB / 1.045 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches