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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001404/0.001404, 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.001552/0.001552, allocations: 197.3 kB / 16.14 MB, free: 6.711 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.29/1.29, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.463/2.463, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 64.53 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2541, allocations: 157.4 MB / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.7545/1.009, allocations: 220.3 MB / 1.267 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01636/1.025, allocations: 12.21 MB / 1.279 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002777/1.028, allocations: 67.84 kB / 1.279 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002219/1.03, allocations: 0.7182 MB / 1.28 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00726/1.037, allocations: 2.692 MB / 1.283 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003604/1.041, allocations: 1.28 MB / 1.284 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008468/1.05, allocations: 6.09 MB / 1.29 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002735/1.052, allocations: 1.496 MB / 1.291 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006029/1.058, allocations: 2.21 MB / 1.294 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004601/1.063, allocations: 1.603 MB / 1.295 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007928/1.064, allocations: 102.5 kB / 1.295 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006875/1.071, allocations: 2.469 MB / 1.298 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00156/1.072, allocations: 0.636 MB / 1.298 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003171/1.075, allocations: 0.9638 MB / 1.299 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006737/1.082, allocations: 3.344 MB / 1.302 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.082, allocations: 0 / 1.302 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.012e-06/1.082, allocations: 0 / 1.302 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001154/1.082, allocations: 1.344 kB / 1.302 GB, free: 0.8477 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.006227/1.089, allocations: 2.28 MB / 1.305 GB, free: 15.77 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.089, allocations: 9.781 kB / 1.305 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005113/1.089, allocations: 206.7 kB / 1.305 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003628/1.093, allocations: 0.4983 MB / 1.305 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002748/1.096, allocations: 1.258 MB / 1.307 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.311e-05/1.096, allocations: 110.3 kB / 1.307 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003278/1.096, allocations: 148 kB / 1.307 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003017/1.099, allocations: 1.765 MB / 1.309 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.428e-05/1.099, allocations: 13.31 kB / 1.309 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/1.099, allocations: 62 kB / 1.309 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.527e-05/1.099, allocations: 51.52 kB / 1.309 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002295/1.102, allocations: 1.398 MB / 1.31 GB, free: 14.84 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.009325/1.111, allocations: 7.306 MB / 1.317 GB, free: 10.84 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/1.112, allocations: 1.051 MB / 1.318 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008236/1.113, allocations: 0.6913 MB / 1.319 GB, free: 10.66 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/1.113, allocations: 118.7 kB / 1.319 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/1.113, allocations: 51.56 kB / 1.319 GB, free: 10.53 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001298/1.115, allocations: 304.5 kB / 1.319 GB, free: 10.46 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 6.572e-06/1.115, allocations: 2.75 kB / 1.319 GB, free: 10.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.009052/1.124, allocations: 4.419 MB / 1.324 GB, free: 9.059 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.39e-05/1.124, allocations: 167.9 kB / 1.324 GB, free: 8.871 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/1.126, allocations: 1.261 MB / 1.325 GB, free: 8.699 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001237/1.126, allocations: 55.17 kB / 1.325 GB, free: 8.668 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005888/1.126, allocations: 0.6981 MB / 1.326 GB, free: 8.414 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004924/1.127, allocations: 399.7 kB / 1.326 GB, free: 8.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005563/1.128, allocations: 268 kB / 1.326 GB, free: 8.133 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001756/1.128, allocations: 358.7 kB / 1.327 GB, free: 7.828 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008818/1.129, allocations: 0.5141 MB / 1.327 GB, free: 7.824 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/1.13, allocations: 0.8476 MB / 1.328 GB, free: 7.477 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.01126/1.141, allocations: 4.751 MB / 1.333 GB, free: 6.777 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/1.141, allocations: 6.75 kB / 1.333 GB, free: 6.773 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002711/1.144, allocations: 1.603 MB / 1.334 GB, free: 6.621 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/1.144, allocations: 8.953 kB / 1.334 GB, free: 6.621 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/1.144, allocations: 8.25 kB / 1.334 GB, free: 6.621 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.89e-05/1.144, allocations: 17.09 kB / 1.334 GB, free: 6.621 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/1.145, allocations: 293.2 kB / 1.335 GB, free: 6.617 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-05/1.145, allocations: 24.44 kB / 1.335 GB, free: 6.613 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/1.147, allocations: 102.4 kB / 1.335 GB, free: 6.602 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/1.147, allocations: 62.42 kB / 1.335 GB, free: 6.598 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.0008626/1.148, allocations: 430.1 kB / 1.335 GB, free: 6.477 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005057/1.148, allocations: 164.5 kB / 1.335 GB, free: 6.395 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/1.151, allocations: 1.275 MB / 1.337 GB, free: 6.305 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/1.151, allocations: 13.62 kB / 1.337 GB, free: 6.305 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/1.151, allocations: 0 / 1.337 GB, free: 6.305 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001426/1.152, allocations: 1.23 MB / 1.338 GB, free: 5.941 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00635/1.158, allocations: 3.746 MB / 1.341 GB, free: 4.918 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/1.158, allocations: 11.86 kB / 1.341 GB, free: 4.918 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/1.16, allocations: 245.9 kB / 1.342 GB, free: 4.918 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-05/1.16, allocations: 15.47 kB / 1.342 GB, free: 4.918 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.37e-05/1.16, allocations: 35.64 kB / 1.342 GB, free: 4.918 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-05/1.16, allocations: 20.69 kB / 1.342 GB, free: 4.918 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/1.16, allocations: 15.69 kB / 1.342 GB, free: 4.918 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/1.163, allocations: 2.11 MB / 1.344 GB, free: 4.258 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009756/1.164, allocations: 352.7 kB / 1.344 GB, free: 4.082 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004459/1.164, allocations: 37.56 kB / 1.344 GB, free: 4.082 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/1.166, allocations: 96.09 kB / 1.344 GB, free: 4.066 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/1.166, allocations: 99.58 kB / 1.344 GB, free: 4.055 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/1.166, allocations: 55.41 kB / 1.344 GB, free: 4.051 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001675/1.168, allocations: 0.8538 MB / 1.345 GB, free: 3.941 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/1.168, allocations: 2.812 kB / 1.345 GB, free: 3.941 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002072/1.17, allocations: 428.1 kB / 1.346 GB, free: 3.941 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.003691/1.173, allocations: 2.783 MB / 1.348 GB, free: 2.734 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002105/1.176, allocations: 1.208 MB / 1.35 GB, free: 2.715 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.176, allocations: 11 kB / 1.35 GB, free: 2.707 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007377/1.176, allocations: 0.5409 MB / 1.35 GB, free: 2.676 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004823/1.181, allocations: 0.8951 MB / 1.351 GB, free: 2.453 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02382/1.205, allocations: 14.25 MB / 1.365 GB, free: 8.746 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/1.206, allocations: 1.374 MB / 1.366 GB, free: 7.738 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001816/1.208, allocations: 382.8 kB / 1.367 GB, free: 7.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/1.209, allocations: 0.639 MB / 1.367 GB, free: 7.039 MB / 1.029 GB Notification: Performance of SimCode: time 7.91e-07/1.209, allocations: 0 / 1.367 GB, free: 7.039 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.667/2.876, allocations: 41.25 MB / 1.408 GB, free: 0.668 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002565/2.876, allocations: 293.6 kB / 1.408 GB, free: 292 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.935/6.811, allocations: 10.44 kB / 1.408 GB, free: 284 kB / 1.061 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