Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_11_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.001258/0.001258, allocations: 108 kB / 15.6 MB, free: 132 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.001721/0.001721, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.615/2.615, allocations: 469.8 MB / 0.7424 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 66.86 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2534, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.6634/0.9168, allocations: 222.6 MB / 1.281 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01366/0.9305, allocations: 12.13 MB / 1.293 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001932/0.9324, allocations: 73.12 kB / 1.293 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.9342, allocations: 0.8579 MB / 1.294 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005888/0.9401, allocations: 2.857 MB / 1.297 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002912/0.9431, allocations: 1.42 MB / 1.298 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00433/0.9474, allocations: 4.451 MB / 1.303 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001891/0.9493, allocations: 1.715 MB / 1.304 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004766/0.9541, allocations: 2.459 MB / 1.307 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00224/0.9563, allocations: 1.556 MB / 1.308 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002804/0.9566, allocations: 179.2 kB / 1.308 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003944/0.9606, allocations: 2.17 MB / 1.311 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005512/0.9611, allocations: 0.7033 MB / 1.311 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009254/0.9621, allocations: 1.051 MB / 1.312 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003462/0.9655, allocations: 3.264 MB / 1.316 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.9655, allocations: 1.031 kB / 1.316 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9656, allocations: 0 / 1.316 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.176e-05/0.9656, allocations: 0.9375 kB / 1.316 GB, free: 3.184 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.003876/0.9695, allocations: 2.284 MB / 1.318 GB, free: 18.11 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.9695, allocations: 10 kB / 1.318 GB, free: 18.11 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002263/0.9698, allocations: 207.6 kB / 1.318 GB, free: 18.07 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002774/0.9725, allocations: 0.4976 MB / 1.318 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/0.9743, allocations: 1.253 MB / 1.32 GB, free: 17.54 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.483e-05/0.9744, allocations: 113 kB / 1.32 GB, free: 17.54 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.9746, allocations: 154.6 kB / 1.32 GB, free: 17.53 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/0.9768, allocations: 1.761 MB / 1.322 GB, free: 17.21 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/0.9769, allocations: 6.531 kB / 1.322 GB, free: 17.21 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.977, allocations: 59.81 kB / 1.322 GB, free: 17.21 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.46e-05/0.9771, allocations: 55.17 kB / 1.322 GB, free: 17.21 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.9788, allocations: 1.397 MB / 1.323 GB, free: 17.2 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.007073/0.9859, allocations: 7.333 MB / 1.33 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.9871, allocations: 1.06 MB / 1.331 GB, free: 13.1 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007208/0.9879, allocations: 0.6985 MB / 1.332 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001965/0.9881, allocations: 110.1 kB / 1.332 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.9881, allocations: 51.78 kB / 1.332 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008926/0.989, allocations: 314.5 kB / 1.332 GB, free: 12.84 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 2.545e-06/0.989, allocations: 3.938 kB / 1.332 GB, free: 12.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.006334/0.9953, allocations: 4.44 MB / 1.337 GB, free: 11.44 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.86e-05/0.9954, allocations: 171.8 kB / 1.337 GB, free: 11.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.9966, allocations: 1.258 MB / 1.338 GB, free: 11.08 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.465e-05/0.9967, allocations: 50.89 kB / 1.338 GB, free: 11.05 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.9971, allocations: 0.7024 MB / 1.339 GB, free: 10.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/0.9974, allocations: 400.5 kB / 1.339 GB, free: 10.54 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/0.9977, allocations: 263.4 kB / 1.34 GB, free: 10.52 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.9979, allocations: 363 kB / 1.34 GB, free: 10.21 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006384/0.9985, allocations: 0.524 MB / 1.34 GB, free: 10.21 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009126/0.9995, allocations: 0.8574 MB / 1.341 GB, free: 9.785 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.01007/1.01, allocations: 4.808 MB / 1.346 GB, free: 7.789 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/1.01, allocations: 5.125 kB / 1.346 GB, free: 7.789 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002106/1.012, allocations: 1.609 MB / 1.348 GB, free: 7.176 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.012, allocations: 10.75 kB / 1.348 GB, free: 7.176 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.012, allocations: 9.984 kB / 1.348 GB, free: 7.176 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/1.012, allocations: 18.09 kB / 1.348 GB, free: 7.172 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009958/1.013, allocations: 295.9 kB / 1.348 GB, free: 7.156 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/1.013, allocations: 21.84 kB / 1.348 GB, free: 7.156 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/1.014, allocations: 45.16 kB / 1.348 GB, free: 7.137 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.379e-05/1.014, allocations: 62.73 kB / 1.348 GB, free: 7.125 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.0005625/1.015, allocations: 425.6 kB / 1.348 GB, free: 6.875 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002842/1.015, allocations: 161 kB / 1.349 GB, free: 6.793 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/1.017, allocations: 1.296 MB / 1.35 GB, free: 6.238 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/1.017, allocations: 16.08 kB / 1.35 GB, free: 6.234 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.017, allocations: 3.219 kB / 1.35 GB, free: 6.234 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001407/1.018, allocations: 1.24 MB / 1.351 GB, free: 5.52 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004969/1.023, allocations: 3.766 MB / 1.355 GB, free: 3.539 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/1.023, allocations: 16.03 kB / 1.355 GB, free: 3.535 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009979/1.024, allocations: 246.9 kB / 1.355 GB, free: 3.527 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.377e-05/1.024, allocations: 19.59 kB / 1.355 GB, free: 3.523 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.034e-05/1.024, allocations: 34.34 kB / 1.355 GB, free: 3.508 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-05/1.024, allocations: 23.95 kB / 1.355 GB, free: 3.508 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.139e-05/1.024, allocations: 16.59 kB / 1.355 GB, free: 3.504 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/1.027, allocations: 2.123 MB / 1.357 GB, free: 2.266 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005164/1.027, allocations: 365.9 kB / 1.357 GB, free: 2.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/1.027, allocations: 36.59 kB / 1.357 GB, free: 2.004 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/1.028, allocations: 50.97 kB / 1.358 GB, free: 1.984 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/1.029, allocations: 101.2 kB / 1.358 GB, free: 1.961 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/1.029, allocations: 50.59 kB / 1.358 GB, free: 1.953 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009202/1.03, allocations: 0.8559 MB / 1.359 GB, free: 1.621 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.03, allocations: 0 / 1.359 GB, free: 1.621 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001077/1.031, allocations: 436.2 kB / 1.359 GB, free: 1.582 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.003343/1.034, allocations: 2.838 MB / 1.362 GB, free: 15.92 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00208/1.036, allocations: 1.432 MB / 1.363 GB, free: 15.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/1.036, allocations: 7.188 kB / 1.363 GB, free: 15.51 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006724/1.037, allocations: 0.547 MB / 1.364 GB, free: 15.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003713/1.041, allocations: 0.9279 MB / 1.365 GB, free: 15.08 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/1.057, allocations: 13.76 MB / 1.378 GB, free: 5.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009478/1.058, allocations: 1.378 MB / 1.379 GB, free: 4.734 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001257/1.059, allocations: 387.7 kB / 1.38 GB, free: 4.562 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008377/1.06, allocations: 0.6406 MB / 1.38 GB, free: 4.031 MB / 1.029 GB Notification: Performance of SimCode: time 9.12e-07/1.06, allocations: 0 / 1.38 GB, free: 4.031 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.18/3.24, allocations: 42.95 MB / 1.422 GB, free: 10.27 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.69/21.93, allocations: 10.64 kB / 1.422 GB, free: 10.26 MB / 1.076 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches