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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008676/0.008676, allocations: 103 kB / 15.73 MB, free: 6.035 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.001808/0.001808, allocations: 201.3 kB / 16.68 MB, free: 5.957 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.425/2.425, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 71.44 kB / 0.9504 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.285, allocations: 140.4 MB / 1.088 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.8696/1.155, allocations: 222.6 MB / 1.305 GB, free: 2.902 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01932/1.174, allocations: 12.13 MB / 1.317 GB, free: 2.691 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003634/1.178, allocations: 76.22 kB / 1.317 GB, free: 2.691 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002606/1.18, allocations: 0.8497 MB / 1.318 GB, free: 2.68 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008044/1.188, allocations: 2.865 MB / 1.32 GB, free: 2.562 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004128/1.193, allocations: 1.433 MB / 1.322 GB, free: 2.527 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007393/1.2, allocations: 4.457 MB / 1.326 GB, free: 2.516 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003506/1.204, allocations: 1.72 MB / 1.328 GB, free: 2.332 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006766/1.21, allocations: 2.5 MB / 1.33 GB, free: 2.195 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003922/1.214, allocations: 1.557 MB / 1.332 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00081/1.215, allocations: 179.4 kB / 1.332 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005437/1.221, allocations: 2.168 MB / 1.334 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001285/1.222, allocations: 0.6994 MB / 1.335 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002611/1.224, allocations: 1.049 MB / 1.336 GB, free: 1.578 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00657/1.231, allocations: 3.325 MB / 1.339 GB, free: 1.16 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.231, allocations: 0 / 1.339 GB, free: 1.16 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.953e-06/1.231, allocations: 0.8438 kB / 1.339 GB, free: 1.16 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.859e-05/1.231, allocations: 0 / 1.339 GB, free: 1.16 MB / 1.014 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.005169/1.236, allocations: 2.289 MB / 1.341 GB, free: 76 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/1.236, allocations: 10.66 kB / 1.341 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002562/1.237, allocations: 212.5 kB / 1.342 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003078/1.24, allocations: 0.4949 MB / 1.342 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002757/1.243, allocations: 1.335 MB / 1.343 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.599e-05/1.243, allocations: 114.7 kB / 1.343 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002515/1.243, allocations: 149.7 kB / 1.344 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002784/1.246, allocations: 1.769 MB / 1.345 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.097e-05/1.246, allocations: 4.719 kB / 1.345 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/1.246, allocations: 59.53 kB / 1.345 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.336e-05/1.246, allocations: 50.95 kB / 1.345 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002244/1.248, allocations: 1.4 MB / 1.347 GB, free: 13.81 MB / 1.029 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.009211/1.257, allocations: 7.281 MB / 1.354 GB, free: 8.703 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/1.259, allocations: 1.052 MB / 1.355 GB, free: 8.215 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000912/1.26, allocations: 0.6921 MB / 1.356 GB, free: 7.922 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/1.26, allocations: 118.3 kB / 1.356 GB, free: 7.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/1.26, allocations: 55.64 kB / 1.356 GB, free: 7.766 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001221/1.261, allocations: 317.2 kB / 1.356 GB, free: 7.621 MB / 1.029 GB Notification: Performance of pre-optimization done (n=106): time 7.575e-06/1.261, allocations: 3.984 kB / 1.356 GB, free: 7.617 MB / 1.029 GB Notification: Performance of matching and sorting (n=112): time 0.008698/1.27, allocations: 4.431 MB / 1.36 GB, free: 5.227 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.989e-05/1.27, allocations: 172.4 kB / 1.361 GB, free: 5.039 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/1.272, allocations: 1.259 MB / 1.362 GB, free: 4.559 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001683/1.272, allocations: 54.23 kB / 1.362 GB, free: 4.508 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005432/1.273, allocations: 0.7121 MB / 1.363 GB, free: 3.949 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004319/1.273, allocations: 393.2 kB / 1.363 GB, free: 3.648 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004363/1.274, allocations: 261.4 kB / 1.363 GB, free: 3.531 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.274, allocations: 361.5 kB / 1.363 GB, free: 3.203 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008209/1.275, allocations: 0.5226 MB / 1.364 GB, free: 3.012 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/1.276, allocations: 0.8539 MB / 1.365 GB, free: 2.449 MB / 1.029 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.287, allocations: 4.803 MB / 1.37 GB, free: 468 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/1.287, allocations: 3.406 kB / 1.37 GB, free: 468 kB / 1.029 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003183/1.29, allocations: 1.653 MB / 1.371 GB, free: 15.98 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/1.29, allocations: 8.188 kB / 1.371 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/1.29, allocations: 10.2 kB / 1.371 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.643e-05/1.29, allocations: 13.47 kB / 1.371 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/1.292, allocations: 293.7 kB / 1.371 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.368e-05/1.292, allocations: 24.92 kB / 1.371 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/1.293, allocations: 41.97 kB / 1.371 GB, free: 15.94 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/1.293, allocations: 62.83 kB / 1.372 GB, free: 15.93 MB / 1.045 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.000893/1.294, allocations: 438.5 kB / 1.372 GB, free: 15.67 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005028/1.295, allocations: 163.2 kB / 1.372 GB, free: 15.59 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002218/1.297, allocations: 1.288 MB / 1.373 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/1.297, allocations: 13.69 kB / 1.373 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/1.297, allocations: 0 / 1.373 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001528/1.299, allocations: 1.247 MB / 1.375 GB, free: 14.32 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006514/1.305, allocations: 3.774 MB / 1.378 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/1.305, allocations: 8.469 kB / 1.378 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/1.306, allocations: 250.2 kB / 1.379 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.961e-05/1.306, allocations: 13.16 kB / 1.379 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/1.306, allocations: 40.89 kB / 1.379 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.193e-05/1.306, allocations: 22.7 kB / 1.379 GB, free: 11.94 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/1.306, allocations: 16.06 kB / 1.379 GB, free: 11.94 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00279/1.309, allocations: 2.122 MB / 1.381 GB, free: 10.53 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009306/1.31, allocations: 359.2 kB / 1.381 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003415/1.31, allocations: 39.7 kB / 1.381 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/1.312, allocations: 48.88 kB / 1.381 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/1.312, allocations: 109.3 kB / 1.381 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/1.312, allocations: 49.23 kB / 1.381 GB, free: 10.13 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00161/1.314, allocations: 0.8497 MB / 1.382 GB, free: 9.672 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.3e-07/1.314, allocations: 0 / 1.382 GB, free: 9.672 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001796/1.316, allocations: 440.3 kB / 1.383 GB, free: 9.625 MB / 1.045 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.003809/1.319, allocations: 2.787 MB / 1.385 GB, free: 7.652 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002133/1.321, allocations: 1.248 MB / 1.386 GB, free: 7.117 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/1.322, allocations: 2.906 kB / 1.386 GB, free: 7.117 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000775/1.322, allocations: 0.553 MB / 1.387 GB, free: 6.898 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004633/1.327, allocations: 0.936 MB / 1.388 GB, free: 6.41 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01964/1.347, allocations: 12.66 MB / 1.4 GB, free: 11.25 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/1.348, allocations: 1.372 MB / 1.402 GB, free: 9.852 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001623/1.35, allocations: 389.3 kB / 1.402 GB, free: 9.465 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/1.351, allocations: 0.6362 MB / 1.403 GB, free: 8.828 MB / 1.061 GB Notification: Performance of SimCode: time 2.214e-06/1.351, allocations: 8 kB / 1.403 GB, free: 8.82 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08148/1.432, allocations: 44.02 MB / 1.446 GB, free: 13.37 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/16.4, allocations: 16.09 kB / 1.446 GB, free: 13.36 MB / 1.107 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