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.001075/0.001075, 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.001127/0.001128, allocations: 197.8 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.279/2.279, allocations: 390.2 MB / 0.6647 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.91 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5755/0.5767, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2369/0.8137, allocations: 222.6 MB / 1.167 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0191/0.8328, allocations: 12.1 MB / 1.179 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002028/0.8349, allocations: 71.56 kB / 1.179 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002223/0.8371, allocations: 0.8577 MB / 1.18 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006725/0.8439, allocations: 2.866 MB / 1.183 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003302/0.8472, allocations: 1.424 MB / 1.184 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005786/0.853, allocations: 4.451 MB / 1.188 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/0.8555, allocations: 1.709 MB / 1.19 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005569/0.861, allocations: 2.467 MB / 1.192 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003949/0.865, allocations: 1.555 MB / 1.194 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0008388/0.8659, allocations: 180 kB / 1.194 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005514/0.8714, allocations: 2.163 MB / 1.196 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001249/0.8727, allocations: 0.7089 MB / 1.197 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002436/0.8751, allocations: 1.042 MB / 1.198 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006669/0.8818, allocations: 3.272 MB / 1.201 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.8818, allocations: 0 / 1.201 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8818, allocations: 0 / 1.201 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001131/0.8819, allocations: 0 / 1.201 GB, free: 15.46 MB / 0.9669 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.004707/0.8867, allocations: 2.28 MB / 1.203 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.8867, allocations: 12.03 kB / 1.203 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002657/0.887, allocations: 210.8 kB / 1.204 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003138/0.8901, allocations: 0.4933 MB / 1.204 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/0.8923, allocations: 1.255 MB / 1.205 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.842e-05/0.8924, allocations: 106.8 kB / 1.205 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.8926, allocations: 152 kB / 1.206 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/0.8952, allocations: 1.764 MB / 1.207 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.8953, allocations: 0 / 1.207 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.8954, allocations: 67.94 kB / 1.207 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.125e-05/0.8955, allocations: 50.55 kB / 1.207 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.8977, allocations: 1.399 MB / 1.209 GB, free: 7.438 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.008442/0.9062, allocations: 7.344 MB / 1.216 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.9078, allocations: 1.051 MB / 1.217 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009527/0.9088, allocations: 0.6983 MB / 1.218 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/0.909, allocations: 106.1 kB / 1.218 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/0.909, allocations: 51.56 kB / 1.218 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001248/0.9103, allocations: 314.7 kB / 1.218 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=106): time 4.989e-06/0.9103, allocations: 0 / 1.218 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=112): time 0.007965/0.9183, allocations: 4.449 MB / 1.222 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.89e-05/0.9184, allocations: 171.3 kB / 1.223 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.9201, allocations: 1.263 MB / 1.224 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.9202, allocations: 49.7 kB / 1.224 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005473/0.9207, allocations: 0.6968 MB / 1.225 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000354/0.9211, allocations: 410.1 kB / 1.225 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003527/0.9215, allocations: 259.4 kB / 1.225 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.9216, allocations: 353.9 kB / 1.226 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007931/0.9224, allocations: 0.5309 MB / 1.226 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009696/0.9234, allocations: 0.8592 MB / 1.227 GB, free: 4.121 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.01068/0.9341, allocations: 4.813 MB / 1.232 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.9341, allocations: 0 / 1.232 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002289/0.9364, allocations: 1.616 MB / 1.233 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.9364, allocations: 13.55 kB / 1.233 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.9364, allocations: 8.078 kB / 1.233 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.9365, allocations: 16 kB / 1.233 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.9376, allocations: 287.5 kB / 1.233 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.433e-05/0.9376, allocations: 32.38 kB / 1.233 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.9388, allocations: 49.53 kB / 1.234 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.9389, allocations: 59.98 kB / 1.234 GB, free: 13.07 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 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.000628/0.9396, allocations: 425.3 kB / 1.234 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/0.9399, allocations: 162 kB / 1.234 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.9419, allocations: 1.291 MB / 1.235 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.942, allocations: 12 kB / 1.235 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.942, allocations: 7.938 kB / 1.235 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001434/0.9434, allocations: 1.241 MB / 1.237 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005256/0.9487, allocations: 3.761 MB / 1.24 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.9487, allocations: 8 kB / 1.24 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.9498, allocations: 251.6 kB / 1.241 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.662e-05/0.9498, allocations: 19.94 kB / 1.241 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.419e-05/0.9499, allocations: 36.66 kB / 1.241 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.621e-05/0.95, allocations: 27.92 kB / 1.241 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/0.95, allocations: 15.94 kB / 1.241 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/0.9525, allocations: 2.125 MB / 1.243 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000522/0.953, allocations: 359 kB / 1.243 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.9532, allocations: 35.94 kB / 1.243 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.9543, allocations: 49.94 kB / 1.243 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.9544, allocations: 100.3 kB / 1.243 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.004e-05/0.9545, allocations: 51.98 kB / 1.243 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009796/0.9555, allocations: 0.849 MB / 1.244 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9555, allocations: 3.938 kB / 1.244 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001159/0.9567, allocations: 440 kB / 1.245 GB, free: 1.375 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.4248/1.381, allocations: 2.791 MB / 1.247 GB, free: 283.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002586/1.384, allocations: 1.431 MB / 1.249 GB, free: 283.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/1.384, allocations: 3 kB / 1.249 GB, free: 283.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007851/1.385, allocations: 0.5518 MB / 1.249 GB, free: 283 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004216/1.389, allocations: 0.9346 MB / 1.25 GB, free: 282.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01636/1.406, allocations: 13.75 MB / 1.264 GB, free: 274.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009245/1.406, allocations: 1.374 MB / 1.265 GB, free: 274.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001588/1.408, allocations: 381.6 kB / 1.265 GB, free: 274 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007244/1.409, allocations: 0.645 MB / 1.266 GB, free: 273.5 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/1.409, allocations: 0 / 1.266 GB, free: 273.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.472/2.881, allocations: 42.94 MB / 1.308 GB, free: 241.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/16.17, allocations: 10.36 kB / 1.308 GB, free: 241.7 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