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.001656/0.001656, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002058/0.002058, allocations: 195.5 kB / 16.14 MB, free: 6.719 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.496/1.496, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.397/2.397, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.91 kB / 0.8686 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5826/0.5839, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2883/0.8723, allocations: 220.4 MB / 1.232 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01656/0.8889, allocations: 12.22 MB / 1.244 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002149/0.8911, allocations: 67.56 kB / 1.244 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.8931, allocations: 0.7148 MB / 1.245 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00595/0.8991, allocations: 2.7 MB / 1.247 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002914/0.902, allocations: 1.278 MB / 1.248 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.5307/1.433, allocations: 6.076 MB / 1.254 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002566/1.435, allocations: 1.49 MB / 1.256 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006073/1.441, allocations: 2.211 MB / 1.258 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004566/1.446, allocations: 1.6 MB / 1.26 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006115/1.447, allocations: 101.6 kB / 1.26 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005999/1.453, allocations: 2.475 MB / 1.262 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001126/1.454, allocations: 0.6321 MB / 1.263 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001855/1.456, allocations: 0.9664 MB / 1.264 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006165/1.462, allocations: 3.342 MB / 1.267 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.462, allocations: 0 / 1.267 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.021e-06/1.462, allocations: 0 / 1.267 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.825e-05/1.462, allocations: 0 / 1.267 GB, free: 4.625 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.004307/1.466, allocations: 2.283 MB / 1.269 GB, free: 19.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/1.466, allocations: 9.812 kB / 1.269 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002566/1.467, allocations: 209.5 kB / 1.269 GB, free: 19.51 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003146/1.47, allocations: 0.493 MB / 1.27 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/1.472, allocations: 1.252 MB / 1.271 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.257e-05/1.472, allocations: 108.4 kB / 1.271 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/1.472, allocations: 147.6 kB / 1.271 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/1.475, allocations: 1.768 MB / 1.273 GB, free: 18.66 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/1.475, allocations: 5.969 kB / 1.273 GB, free: 18.66 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/1.475, allocations: 62.81 kB / 1.273 GB, free: 18.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.165e-05/1.475, allocations: 54.88 kB / 1.273 GB, free: 18.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/1.477, allocations: 1.401 MB / 1.275 GB, free: 18.64 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.007799/1.485, allocations: 7.313 MB / 1.282 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/1.486, allocations: 1.049 MB / 1.283 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008757/1.487, allocations: 0.6943 MB / 1.283 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/1.487, allocations: 107 kB / 1.283 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/1.487, allocations: 59.61 kB / 1.284 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001248/1.489, allocations: 305 kB / 1.284 GB, free: 14.3 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 3.476e-06/1.489, allocations: 0 / 1.284 GB, free: 14.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.00735/1.496, allocations: 4.417 MB / 1.288 GB, free: 12.95 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.806e-05/1.496, allocations: 176.8 kB / 1.288 GB, free: 12.75 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/1.497, allocations: 1.259 MB / 1.29 GB, free: 12.58 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.559e-05/1.498, allocations: 51.7 kB / 1.29 GB, free: 12.55 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003853/1.498, allocations: 0.6987 MB / 1.29 GB, free: 12.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002971/1.498, allocations: 397.1 kB / 1.291 GB, free: 12.05 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003381/1.499, allocations: 263.2 kB / 1.291 GB, free: 12.02 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.499, allocations: 358.3 kB / 1.291 GB, free: 11.72 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007149/1.499, allocations: 0.5181 MB / 1.292 GB, free: 11.71 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009037/1.5, allocations: 0.8513 MB / 1.293 GB, free: 11.38 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 (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.01091/1.511, allocations: 4.744 MB / 1.297 GB, free: 10.69 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/1.511, allocations: 5.344 kB / 1.297 GB, free: 10.69 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002612/1.514, allocations: 1.596 MB / 1.299 GB, free: 10.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/1.514, allocations: 10.84 kB / 1.299 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/1.514, allocations: 10.88 kB / 1.299 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/1.514, allocations: 13.47 kB / 1.299 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/1.515, allocations: 291.8 kB / 1.299 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.971e-05/1.515, allocations: 19.69 kB / 1.299 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/1.517, allocations: 122.4 kB / 1.299 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/1.517, allocations: 56.83 kB / 1.299 GB, free: 10.51 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 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.0009511/1.518, allocations: 425.8 kB / 1.3 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003214/1.518, allocations: 169 kB / 1.3 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/1.52, allocations: 1.273 MB / 1.301 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/1.52, allocations: 16.03 kB / 1.301 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.52, allocations: 9.531 kB / 1.301 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001354/1.521, allocations: 1.224 MB / 1.302 GB, free: 9.859 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005352/1.527, allocations: 3.747 MB / 1.306 GB, free: 8.852 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/1.527, allocations: 13.17 kB / 1.306 GB, free: 8.852 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/1.528, allocations: 244.1 kB / 1.306 GB, free: 8.852 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/1.528, allocations: 16.31 kB / 1.306 GB, free: 8.852 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-05/1.528, allocations: 44.09 kB / 1.306 GB, free: 8.848 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.294e-05/1.528, allocations: 19.33 kB / 1.306 GB, free: 8.848 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/1.528, allocations: 16.03 kB / 1.306 GB, free: 8.848 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/1.53, allocations: 2.102 MB / 1.308 GB, free: 8.203 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006545/1.531, allocations: 354.8 kB / 1.309 GB, free: 8.027 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/1.531, allocations: 38.61 kB / 1.309 GB, free: 8.027 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.533, allocations: 92.09 kB / 1.309 GB, free: 8.016 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/1.533, allocations: 98.06 kB / 1.309 GB, free: 8.004 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-05/1.533, allocations: 51.53 kB / 1.309 GB, free: 8.004 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009957/1.534, allocations: 0.8538 MB / 1.31 GB, free: 7.891 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/1.534, allocations: 0 / 1.31 GB, free: 7.891 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001348/1.535, allocations: 431.9 kB / 1.31 GB, free: 7.891 MB / 1.014 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.003044/1.538, allocations: 2.788 MB / 1.313 GB, free: 6.699 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00173/1.54, allocations: 1.206 MB / 1.314 GB, free: 6.672 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/1.54, allocations: 6.469 kB / 1.314 GB, free: 6.668 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000651/1.541, allocations: 0.5427 MB / 1.315 GB, free: 6.664 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00372/1.544, allocations: 0.8936 MB / 1.316 GB, free: 6.594 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/1.564, allocations: 14.25 MB / 1.329 GB, free: 280 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/1.566, allocations: 1.369 MB / 1.331 GB, free: 15.54 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00179/1.567, allocations: 381.2 kB / 1.331 GB, free: 15.46 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007903/1.568, allocations: 0.6419 MB / 1.332 GB, free: 15.45 MB / 1.029 GB Notification: Performance of SimCode: time 6.82e-07/1.568, allocations: 0 / 1.332 GB, free: 15.45 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08744/1.656, allocations: 41.26 MB / 1.372 GB, free: 7.871 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/1.656, allocations: 289.9 kB / 1.372 GB, free: 7.484 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/4.641, allocations: 0 / 1.372 GB, free: 7.484 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