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.001266/0.001266, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001098/0.001099, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.404/1.404, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.268/2.268, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 63.91 kB / 0.8121 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6017/0.6031, allocations: 140.4 MB / 0.9492 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2287/0.8318, allocations: 219.8 MB / 1.164 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0172/0.849, allocations: 12.03 MB / 1.176 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002413/0.8514, allocations: 63.62 kB / 1.176 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002521/0.854, allocations: 0.7342 MB / 1.176 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.007313/0.8613, allocations: 2.688 MB / 1.179 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003731/0.8651, allocations: 1.312 MB / 1.18 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00583/0.8709, allocations: 4.458 MB / 1.185 GB, free: 124 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002652/0.8736, allocations: 1.666 MB / 1.186 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005725/0.8794, allocations: 2.456 MB / 1.189 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003626/0.883, allocations: 1.643 MB / 1.19 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005937/0.8836, allocations: 180 kB / 1.19 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004381/0.888, allocations: 2.272 MB / 1.193 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.889, allocations: 0.709 MB / 1.193 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001829/0.8909, allocations: 1.042 MB / 1.194 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005274/0.8961, allocations: 3.42 MB / 1.198 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.8962, allocations: 0 / 1.198 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.146e-06/0.8962, allocations: 4 kB / 1.198 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.613e-05/0.8963, allocations: 0 / 1.198 GB, free: 2.68 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.004585/0.9009, allocations: 2.284 MB / 1.2 GB, free: 348 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.9009, allocations: 12.03 kB / 1.2 GB, free: 336 kB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003501/0.9013, allocations: 206.8 kB / 1.2 GB, free: 120 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/0.9045, allocations: 0.4972 MB / 1.201 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002259/0.9068, allocations: 1.259 MB / 1.202 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.951e-05/0.9068, allocations: 102.8 kB / 1.202 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002428/0.9071, allocations: 152 kB / 1.202 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00279/0.9099, allocations: 1.766 MB / 1.204 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/0.9099, allocations: 0 / 1.204 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.9101, allocations: 63.94 kB / 1.204 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.594e-05/0.9102, allocations: 54.53 kB / 1.204 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/0.9125, allocations: 1.399 MB / 1.205 GB, free: 10.65 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.008876/0.9213, allocations: 7.3 MB / 1.212 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.923, allocations: 1.047 MB / 1.213 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009538/0.9239, allocations: 0.7022 MB / 1.214 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002129/0.9242, allocations: 106.1 kB / 1.214 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.9242, allocations: 51.56 kB / 1.214 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00129/0.9255, allocations: 314.7 kB / 1.215 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=106): time 8.025e-06/0.9255, allocations: 0 / 1.215 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=112): time 0.008375/0.9339, allocations: 4.455 MB / 1.219 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.37e-05/0.934, allocations: 167.2 kB / 1.219 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.9356, allocations: 1.267 MB / 1.22 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.9357, allocations: 45.7 kB / 1.22 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004892/0.9362, allocations: 0.7009 MB / 1.221 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003598/0.9366, allocations: 410.1 kB / 1.221 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003868/0.937, allocations: 259.4 kB / 1.222 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.9371, allocations: 365.9 kB / 1.222 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008122/0.9379, allocations: 0.5192 MB / 1.223 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.939, allocations: 0.8592 MB / 1.223 GB, free: 7.375 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.01158/0.9506, allocations: 4.807 MB / 1.228 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.538e-05/0.9506, allocations: 4 kB / 1.228 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002557/0.9532, allocations: 1.612 MB / 1.23 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.9532, allocations: 12.22 kB / 1.23 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.9532, allocations: 8 kB / 1.23 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.039e-05/0.9533, allocations: 16 kB / 1.23 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.9544, allocations: 299.5 kB / 1.23 GB, free: 468 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.181e-05/0.9545, allocations: 23.94 kB / 1.23 GB, free: 444 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.956, allocations: 109.5 kB / 1.23 GB, free: 336 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.9562, allocations: 59.98 kB / 1.23 GB, free: 276 kB / 0.9825 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.0007376/0.9569, allocations: 425.8 kB / 1.231 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003955/0.9573, allocations: 166 kB / 1.231 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/0.9595, allocations: 1.295 MB / 1.232 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.9595, allocations: 12 kB / 1.232 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.9595, allocations: 7.938 kB / 1.232 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001557/0.9611, allocations: 1.244 MB / 1.233 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005967/0.9671, allocations: 3.754 MB / 1.237 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/0.9671, allocations: 12 kB / 1.237 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/0.9683, allocations: 247.6 kB / 1.237 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.402e-05/0.9683, allocations: 20.66 kB / 1.237 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.986e-05/0.9684, allocations: 39.98 kB / 1.237 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.677e-05/0.9684, allocations: 19.94 kB / 1.237 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/0.9684, allocations: 19.92 kB / 1.237 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/0.9712, allocations: 2.121 MB / 1.239 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000717/0.9719, allocations: 355 kB / 1.24 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002704/0.9722, allocations: 51.86 kB / 1.24 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.9735, allocations: 89.8 kB / 1.24 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.9736, allocations: 108.3 kB / 1.24 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.514e-05/0.9737, allocations: 47.98 kB / 1.24 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001164/0.9749, allocations: 0.8529 MB / 1.241 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9749, allocations: 0 / 1.241 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001419/0.9763, allocations: 440 kB / 1.241 GB, free: 4.523 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.003405/0.9798, allocations: 2.793 MB / 1.244 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002496/0.9823, allocations: 1.43 MB / 1.245 GB, free: 152 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.9823, allocations: 4.562 kB / 1.245 GB, free: 148 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.406/1.388, allocations: 0.5435 MB / 1.246 GB, free: 285.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004547/1.393, allocations: 0.9336 MB / 1.247 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0216/1.414, allocations: 14.29 MB / 1.261 GB, free: 277.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008807/1.415, allocations: 1.382 MB / 1.262 GB, free: 276.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001765/1.417, allocations: 393.5 kB / 1.262 GB, free: 276.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007722/1.418, allocations: 0.6413 MB / 1.263 GB, free: 276 MB / 0.9981 GB Notification: Performance of SimCode: time 8.71e-07/1.418, allocations: 1.25 kB / 1.263 GB, free: 276 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6439/2.062, allocations: 42.69 MB / 1.305 GB, free: 245.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/2.062, allocations: 291.3 kB / 1.305 GB, free: 245.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.082/5.144, allocations: 0 / 1.305 GB, free: 245.4 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