Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_10_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.001312/0.001312, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001454/0.001454, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.346/1.346, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.289/2.289, allocations: 437.1 MB / 0.7101 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 71.89 kB / 0.8689 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4638, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.1841/0.6479, allocations: 219.8 MB / 1.232 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01349/0.6614, allocations: 12.04 MB / 1.243 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.6627, allocations: 67.56 kB / 1.243 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.6643, allocations: 0.7421 MB / 1.244 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00482/0.6692, allocations: 2.687 MB / 1.247 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002452/0.6716, allocations: 1.302 MB / 1.248 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003632/0.6753, allocations: 4.454 MB / 1.252 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4377/1.113, allocations: 1.671 MB / 1.254 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005403/1.118, allocations: 2.439 MB / 1.256 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003471/1.122, allocations: 1.645 MB / 1.258 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003474/1.122, allocations: 182.2 kB / 1.258 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003788/1.126, allocations: 2.271 MB / 1.26 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000751/1.127, allocations: 0.7087 MB / 1.261 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001139/1.128, allocations: 1.046 MB / 1.262 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0045/1.132, allocations: 3.427 MB / 1.265 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/1.133, allocations: 1.125 kB / 1.265 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/1.133, allocations: 0 / 1.265 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.961e-05/1.133, allocations: 1.219 kB / 1.265 GB, free: 5.062 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.00395/1.137, allocations: 2.27 MB / 1.268 GB, free: 20 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/1.137, allocations: 10.16 kB / 1.268 GB, free: 20 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002456/1.137, allocations: 209.7 kB / 1.268 GB, free: 19.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002956/1.14, allocations: 0.4986 MB / 1.268 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/1.142, allocations: 1.255 MB / 1.27 GB, free: 19.44 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.718e-05/1.142, allocations: 115.1 kB / 1.27 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/1.142, allocations: 148 kB / 1.27 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/1.144, allocations: 1.761 MB / 1.272 GB, free: 19.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/1.144, allocations: 7.156 kB / 1.272 GB, free: 19.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/1.145, allocations: 64.34 kB / 1.272 GB, free: 19.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.399e-05/1.145, allocations: 51.39 kB / 1.272 GB, free: 19.12 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001953/1.147, allocations: 1.402 MB / 1.273 GB, free: 19.1 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.007034/1.154, allocations: 7.31 MB / 1.28 GB, free: 15.17 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/1.155, allocations: 1.044 MB / 1.281 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007673/1.156, allocations: 0.6959 MB / 1.282 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/1.156, allocations: 114.7 kB / 1.282 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/1.156, allocations: 54.94 kB / 1.282 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001144/1.157, allocations: 307.5 kB / 1.282 GB, free: 14.81 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 3.126e-06/1.157, allocations: 2.844 kB / 1.282 GB, free: 14.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.006596/1.164, allocations: 4.448 MB / 1.287 GB, free: 13.46 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/1.164, allocations: 170.4 kB / 1.287 GB, free: 13.27 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/1.165, allocations: 1.26 MB / 1.288 GB, free: 13.11 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.221e-05/1.165, allocations: 52.92 kB / 1.288 GB, free: 13.07 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000325/1.165, allocations: 0.7001 MB / 1.289 GB, free: 12.82 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/1.166, allocations: 401.4 kB / 1.289 GB, free: 12.57 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003173/1.166, allocations: 268.9 kB / 1.289 GB, free: 12.54 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001035/1.166, allocations: 353.1 kB / 1.29 GB, free: 12.24 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006307/1.167, allocations: 0.5289 MB / 1.29 GB, free: 12.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000766/1.167, allocations: 0.8547 MB / 1.291 GB, free: 11.9 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.009405/1.177, allocations: 4.803 MB / 1.296 GB, free: 11.27 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.177, allocations: 4.469 kB / 1.296 GB, free: 11.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001927/1.179, allocations: 1.618 MB / 1.297 GB, free: 11.12 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.179, allocations: 6.906 kB / 1.297 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.179, allocations: 9.625 kB / 1.297 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.179, allocations: 13.16 kB / 1.297 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009871/1.18, allocations: 292 kB / 1.298 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/1.18, allocations: 23.52 kB / 1.298 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/1.181, allocations: 118.6 kB / 1.298 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-05/1.181, allocations: 59.39 kB / 1.298 GB, free: 11.11 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.0005137/1.182, allocations: 429.7 kB / 1.298 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/1.182, allocations: 167.1 kB / 1.298 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/1.184, allocations: 1.288 MB / 1.3 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/1.184, allocations: 14.62 kB / 1.3 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.184, allocations: 0 / 1.3 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00122/1.185, allocations: 1.241 MB / 1.301 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004537/1.189, allocations: 3.772 MB / 1.305 GB, free: 9.477 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.189, allocations: 12.47 kB / 1.305 GB, free: 9.477 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009728/1.19, allocations: 241.4 kB / 1.305 GB, free: 9.477 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.405e-05/1.19, allocations: 20.23 kB / 1.305 GB, free: 9.473 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-05/1.191, allocations: 38.55 kB / 1.305 GB, free: 9.473 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.12e-05/1.191, allocations: 25.08 kB / 1.305 GB, free: 9.473 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.191, allocations: 16.69 kB / 1.305 GB, free: 9.473 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/1.193, allocations: 2.124 MB / 1.307 GB, free: 8.852 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004734/1.193, allocations: 355.5 kB / 1.307 GB, free: 8.676 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/1.193, allocations: 40.81 kB / 1.307 GB, free: 8.676 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.194, allocations: 92.3 kB / 1.308 GB, free: 8.664 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/1.195, allocations: 102.8 kB / 1.308 GB, free: 8.656 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.277e-05/1.195, allocations: 52.94 kB / 1.308 GB, free: 8.656 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007738/1.195, allocations: 0.8531 MB / 1.309 GB, free: 8.547 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/1.195, allocations: 2.797 kB / 1.309 GB, free: 8.547 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001039/1.196, allocations: 430.1 kB / 1.309 GB, free: 8.547 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.002574/1.199, allocations: 2.817 MB / 1.312 GB, free: 7.371 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001835/1.201, allocations: 1.425 MB / 1.313 GB, free: 7.344 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.201, allocations: 1.781 kB / 1.313 GB, free: 7.344 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005825/1.202, allocations: 0.5515 MB / 1.314 GB, free: 7.34 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003513/1.205, allocations: 0.9284 MB / 1.315 GB, free: 7.238 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/1.221, allocations: 14.3 MB / 1.328 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007517/1.222, allocations: 1.377 MB / 1.33 GB, free: 224 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001336/1.223, allocations: 382.4 kB / 1.33 GB, free: 140 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006966/1.224, allocations: 0.6408 MB / 1.331 GB, free: 132 kB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/1.224, allocations: 0 / 1.331 GB, free: 132 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.35/2.573, allocations: 42.7 MB / 1.373 GB, free: 8.438 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000392/2.574, allocations: 286 kB / 1.373 GB, free: 8.055 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.62/6.194, allocations: 0 / 1.373 GB, free: 8.055 MB / 1.045 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches