Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_9_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.001006/0.001006, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.006083/0.006083, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.279/1.279, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.0003079, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6104/0.6108, allocations: 142.4 MB / 0.9552 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2232/0.834, allocations: 217.3 MB / 1.167 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0203/0.8544, allocations: 12.07 MB / 1.179 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002446/0.8569, allocations: 63.56 kB / 1.179 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.8593, allocations: 0.7147 MB / 1.18 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.007285/0.8666, allocations: 2.695 MB / 1.183 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003241/0.8699, allocations: 1.289 MB / 1.184 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006849/0.8767, allocations: 6.089 MB / 1.19 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002287/0.879, allocations: 1.441 MB / 1.191 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005181/0.8842, allocations: 2.149 MB / 1.193 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003529/0.8878, allocations: 1.527 MB / 1.195 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004234/0.8882, allocations: 76 kB / 1.195 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004813/0.893, allocations: 2.447 MB / 1.197 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0008597/0.8939, allocations: 0.5957 MB / 1.198 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002003/0.8959, allocations: 0.9343 MB / 1.199 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005666/0.9016, allocations: 3.279 MB / 1.202 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.9016, allocations: 0 / 1.202 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.236e-06/0.9016, allocations: 3.938 kB / 1.202 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001147/0.9017, allocations: 7.938 kB / 1.202 GB, free: 1.719 MB / 0.9512 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.004/0.9057, allocations: 1.891 MB / 1.204 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.9058, allocations: 16.02 kB / 1.204 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004437/0.9062, allocations: 206.8 kB / 1.204 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003172/0.9094, allocations: 0.4933 MB / 1.205 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.9117, allocations: 1.259 MB / 1.206 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.337e-05/0.9118, allocations: 106.8 kB / 1.206 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002496/0.912, allocations: 148 kB / 1.206 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/0.9148, allocations: 1.762 MB / 1.208 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.967e-05/0.9149, allocations: 11.84 kB / 1.208 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/0.915, allocations: 60 kB / 1.208 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-05/0.9151, allocations: 58.47 kB / 1.208 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.9174, allocations: 1.395 MB / 1.209 GB, free: 10.08 MB / 0.9669 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.008983/0.9264, allocations: 7.328 MB / 1.216 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.928, allocations: 1.047 MB / 1.217 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009798/0.929, allocations: 0.6906 MB / 1.218 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002109/0.9292, allocations: 110.1 kB / 1.218 GB, free: 460 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.9293, allocations: 59.48 kB / 1.218 GB, free: 392 kB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001116/0.9304, allocations: 306.7 kB / 1.218 GB, free: 84 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=106): time 6.543e-06/0.9304, allocations: 0 / 1.218 GB, free: 84 kB / 0.9669 GB Notification: Performance of matching and sorting (n=112): time 0.008275/0.9387, allocations: 4.427 MB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.689e-05/0.9388, allocations: 175.1 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.9404, allocations: 1.259 MB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.9405, allocations: 53.7 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000597/0.9411, allocations: 0.6967 MB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/0.9415, allocations: 410.2 kB / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.9416, allocations: 121.6 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.9418, allocations: 358 kB / 1.226 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008264/0.9427, allocations: 0.5153 MB / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.9438, allocations: 0.8479 MB / 1.227 GB, free: 6.957 MB / 0.9825 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.01147/0.9553, allocations: 4.767 MB / 1.232 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.749e-06/0.9553, allocations: 4 kB / 1.232 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002583/0.9579, allocations: 1.596 MB / 1.233 GB, free: 432 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.9579, allocations: 8.938 kB / 1.233 GB, free: 424 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.9579, allocations: 11.94 kB / 1.233 GB, free: 412 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/0.958, allocations: 16 kB / 1.233 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.9591, allocations: 291.6 kB / 1.234 GB, free: 104 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-05/0.9591, allocations: 23.86 kB / 1.234 GB, free: 80 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.9607, allocations: 111.8 kB / 1.234 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.9608, allocations: 59.98 kB / 1.234 GB, free: 15.91 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.0007454/0.9616, allocations: 429.2 kB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003766/0.9619, allocations: 166 kB / 1.234 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/0.9642, allocations: 1.275 MB / 1.236 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.9642, allocations: 12 kB / 1.236 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.9642, allocations: 7.938 kB / 1.236 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001585/0.9658, allocations: 1.229 MB / 1.237 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005976/0.9718, allocations: 3.75 MB / 1.241 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.9718, allocations: 8 kB / 1.241 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.9729, allocations: 247.6 kB / 1.241 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.008e-05/0.973, allocations: 15.94 kB / 1.241 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.792e-05/0.973, allocations: 39.98 kB / 1.241 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.718e-05/0.9731, allocations: 19.94 kB / 1.241 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/0.9731, allocations: 15.94 kB / 1.241 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/0.9759, allocations: 2.102 MB / 1.243 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006985/0.9766, allocations: 355 kB / 1.243 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002709/0.9768, allocations: 47.92 kB / 1.243 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/0.9782, allocations: 91.78 kB / 1.243 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.9783, allocations: 100.2 kB / 1.243 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.9785, allocations: 55.97 kB / 1.244 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001323/0.9798, allocations: 0.8529 MB / 1.244 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9798, allocations: 0 / 1.244 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001614/0.9814, allocations: 436 kB / 1.245 GB, free: 4.242 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.003625/0.9851, allocations: 2.78 MB / 1.248 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002053/0.9871, allocations: 1.202 MB / 1.249 GB, free: 108 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.9871, allocations: 5.75 kB / 1.249 GB, free: 104 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.4065/1.394, allocations: 0.5347 MB / 1.249 GB, free: 284.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006752/1.4, allocations: 0.8986 MB / 1.25 GB, free: 284.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01812/1.419, allocations: 14.39 MB / 1.264 GB, free: 276.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007288/1.419, allocations: 1.376 MB / 1.265 GB, free: 275.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001528/1.421, allocations: 378.3 kB / 1.266 GB, free: 275.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006952/1.422, allocations: 0.6415 MB / 1.266 GB, free: 274.9 MB / 0.9981 GB Notification: Performance of SimCode: time 6.62e-07/1.422, allocations: 3.938 kB / 1.266 GB, free: 274.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.129/2.551, allocations: 40.89 MB / 1.306 GB, free: 244.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/2.551, allocations: 283.2 kB / 1.307 GB, free: 244.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.709/5.26, allocations: 0 / 1.307 GB, free: 244.6 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches