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.001385/0.001385, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 194.9 kB / 16.53 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.58/2.58, allocations: 461.9 MB / 0.7347 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 64.39 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2351, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.7083/0.9434, allocations: 222.6 MB / 1.27 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01405/0.9575, allocations: 12.12 MB / 1.282 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002164/0.9597, allocations: 72.53 kB / 1.282 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001914/0.9617, allocations: 0.86 MB / 1.283 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00663/0.9683, allocations: 2.867 MB / 1.286 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003603/0.9719, allocations: 1.419 MB / 1.287 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005978/0.9779, allocations: 4.449 MB / 1.292 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002061/0.98, allocations: 1.715 MB / 1.293 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004792/0.9848, allocations: 2.46 MB / 1.296 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002333/0.9872, allocations: 1.551 MB / 1.297 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003035/0.9875, allocations: 184.6 kB / 1.297 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003887/0.9914, allocations: 2.159 MB / 1.299 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005857/0.992, allocations: 0.7126 MB / 1.3 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.993, allocations: 1.049 MB / 1.301 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003619/0.9966, allocations: 3.267 MB / 1.304 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.9966, allocations: 4.875 kB / 1.304 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9966, allocations: 0.9062 kB / 1.304 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.498e-05/0.9967, allocations: 0 / 1.304 GB, free: 1.449 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.003337/1, allocations: 2.274 MB / 1.307 GB, free: 16.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/1, allocations: 10.81 kB / 1.307 GB, free: 16.38 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002273/1, allocations: 209.9 kB / 1.307 GB, free: 16.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002852/1.003, allocations: 0.497 MB / 1.307 GB, free: 16.23 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/1.005, allocations: 1.256 MB / 1.308 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.593e-05/1.005, allocations: 109.4 kB / 1.309 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/1.005, allocations: 148 kB / 1.309 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/1.007, allocations: 1.771 MB / 1.31 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/1.007, allocations: 10.41 kB / 1.31 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/1.008, allocations: 61.94 kB / 1.311 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.431e-05/1.008, allocations: 51.53 kB / 1.311 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/1.009, allocations: 1.402 MB / 1.312 GB, free: 15.46 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.007359/1.017, allocations: 7.337 MB / 1.319 GB, free: 11.51 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/1.018, allocations: 1.041 MB / 1.32 GB, free: 11.39 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007826/1.019, allocations: 0.6998 MB / 1.321 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000191/1.019, allocations: 109.5 kB / 1.321 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/1.019, allocations: 59.69 kB / 1.321 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001038/1.02, allocations: 311.6 kB / 1.321 GB, free: 11.14 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 3.176e-06/1.02, allocations: 1.125 kB / 1.321 GB, free: 11.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.007232/1.027, allocations: 4.439 MB / 1.326 GB, free: 9.75 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/1.028, allocations: 173.3 kB / 1.326 GB, free: 9.559 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/1.029, allocations: 1.257 MB / 1.327 GB, free: 9.391 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.599e-05/1.029, allocations: 51.45 kB / 1.327 GB, free: 9.359 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/1.029, allocations: 0.7013 MB / 1.328 GB, free: 9.105 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003228/1.03, allocations: 402.2 kB / 1.328 GB, free: 8.852 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003395/1.03, allocations: 260.6 kB / 1.328 GB, free: 8.828 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001145/1.03, allocations: 361.1 kB / 1.329 GB, free: 8.52 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007806/1.031, allocations: 0.5343 MB / 1.329 GB, free: 8.512 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000891/1.032, allocations: 0.8557 MB / 1.33 GB, free: 8.164 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.01018/1.042, allocations: 4.806 MB / 1.335 GB, free: 7.457 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/1.042, allocations: 7.406 kB / 1.335 GB, free: 7.453 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002193/1.044, allocations: 1.616 MB / 1.336 GB, free: 7.301 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.044, allocations: 12.3 kB / 1.336 GB, free: 7.301 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/1.044, allocations: 11.03 kB / 1.336 GB, free: 7.297 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/1.044, allocations: 16.56 kB / 1.336 GB, free: 7.297 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/1.045, allocations: 289 kB / 1.337 GB, free: 7.297 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/1.045, allocations: 23.88 kB / 1.337 GB, free: 7.293 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/1.047, allocations: 49.66 kB / 1.337 GB, free: 7.293 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.38e-05/1.047, allocations: 60.55 kB / 1.337 GB, free: 7.293 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.000648/1.048, allocations: 421.6 kB / 1.337 GB, free: 7.172 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002955/1.048, allocations: 167.7 kB / 1.337 GB, free: 7.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/1.05, allocations: 1.293 MB / 1.339 GB, free: 6.996 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/1.05, allocations: 19.03 kB / 1.339 GB, free: 6.992 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/1.05, allocations: 0 / 1.339 GB, free: 6.992 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001321/1.051, allocations: 1.241 MB / 1.34 GB, free: 6.625 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00486/1.056, allocations: 3.76 MB / 1.343 GB, free: 5.605 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/1.056, allocations: 10.22 kB / 1.344 GB, free: 5.605 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/1.057, allocations: 251.6 kB / 1.344 GB, free: 5.602 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/1.057, allocations: 13.34 kB / 1.344 GB, free: 5.602 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.261e-05/1.057, allocations: 45.28 kB / 1.344 GB, free: 5.598 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-05/1.057, allocations: 18.11 kB / 1.344 GB, free: 5.598 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/1.057, allocations: 16.56 kB / 1.344 GB, free: 5.598 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/1.059, allocations: 2.13 MB / 1.346 GB, free: 4.945 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005712/1.06, allocations: 359 kB / 1.346 GB, free: 4.715 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/1.06, allocations: 36.27 kB / 1.346 GB, free: 4.699 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/1.061, allocations: 46.3 kB / 1.346 GB, free: 4.684 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/1.061, allocations: 104.8 kB / 1.346 GB, free: 4.656 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.75e-05/1.061, allocations: 53.66 kB / 1.346 GB, free: 4.648 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009594/1.062, allocations: 0.8539 MB / 1.347 GB, free: 4.32 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.062, allocations: 0 / 1.347 GB, free: 4.32 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001243/1.064, allocations: 431.5 kB / 1.348 GB, free: 4.281 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.00291/1.067, allocations: 2.812 MB / 1.35 GB, free: 2.469 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002142/1.069, allocations: 1.428 MB / 1.352 GB, free: 2.055 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.069, allocations: 3 kB / 1.352 GB, free: 2.055 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006637/1.069, allocations: 0.5473 MB / 1.352 GB, free: 1.902 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003982/1.073, allocations: 0.9435 MB / 1.353 GB, free: 1.617 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/1.089, allocations: 13.76 MB / 1.367 GB, free: 9.301 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009135/1.09, allocations: 1.376 MB / 1.368 GB, free: 8.293 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001477/1.091, allocations: 379.6 kB / 1.368 GB, free: 8.129 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008508/1.092, allocations: 0.6435 MB / 1.369 GB, free: 7.594 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/1.092, allocations: 0 / 1.369 GB, free: 7.594 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.007/3.099, allocations: 42.94 MB / 1.411 GB, free: 15.69 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/17.61, allocations: 15.14 kB / 1.411 GB, free: 15.68 MB / 1.076 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