Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_latest_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.0008524/0.0008522, allocations: 98.19 kB / 15.36 MB, free: 0.7305 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.0008828/0.0008828, allocations: 172.6 kB / 16.26 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.214/1.214, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.431/2.431, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003297, allocations: 8.844 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2681, allocations: 159.6 MB / 1.059 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.7283/0.9964, allocations: 217.4 MB / 1.271 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01433/1.011, allocations: 12.07 MB / 1.283 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002007/1.013, allocations: 63.44 kB / 1.283 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/1.015, allocations: 0.713 MB / 1.284 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006762/1.021, allocations: 2.693 MB / 1.286 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003342/1.025, allocations: 1.291 MB / 1.287 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009951/1.035, allocations: 6.09 MB / 1.293 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002279/1.037, allocations: 1.449 MB / 1.295 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005637/1.043, allocations: 2.142 MB / 1.297 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003657/1.046, allocations: 1.522 MB / 1.298 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004518/1.047, allocations: 79.73 kB / 1.298 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006966/1.054, allocations: 2.452 MB / 1.301 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007662/1.055, allocations: 0.5861 MB / 1.301 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0015/1.056, allocations: 0.9395 MB / 1.302 GB, free: 17.95 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004523/1.061, allocations: 3.282 MB / 1.306 GB, free: 17.77 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/1.061, allocations: 1.812 kB / 1.306 GB, free: 17.77 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.873e-06/1.061, allocations: 4 kB / 1.306 GB, free: 17.77 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.485e-05/1.061, allocations: 0 / 1.306 GB, free: 17.77 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.003084/1.064, allocations: 1.89 MB / 1.307 GB, free: 16.74 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/1.064, allocations: 9.844 kB / 1.307 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002356/1.064, allocations: 210.2 kB / 1.308 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002854/1.067, allocations: 0.5028 MB / 1.308 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/1.069, allocations: 1.251 MB / 1.309 GB, free: 16.17 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.508e-05/1.069, allocations: 113 kB / 1.309 GB, free: 16.16 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/1.069, allocations: 151.7 kB / 1.31 GB, free: 16.16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/1.071, allocations: 1.763 MB / 1.311 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.969e-05/1.071, allocations: 9.469 kB / 1.311 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/1.072, allocations: 59.69 kB / 1.311 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.447e-05/1.072, allocations: 59.05 kB / 1.311 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002009/1.074, allocations: 1.402 MB / 1.313 GB, free: 15.81 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.007222/1.081, allocations: 7.318 MB / 1.32 GB, free: 11.83 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/1.082, allocations: 1.047 MB / 1.321 GB, free: 11.69 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007848/1.083, allocations: 0.687 MB / 1.322 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/1.083, allocations: 121.5 kB / 1.322 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/1.083, allocations: 48.84 kB / 1.322 GB, free: 11.51 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001055/1.084, allocations: 306 kB / 1.322 GB, free: 11.44 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 3.667e-06/1.084, allocations: 0 / 1.322 GB, free: 11.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.007271/1.092, allocations: 4.422 MB / 1.326 GB, free: 10.04 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/1.092, allocations: 170.9 kB / 1.327 GB, free: 9.855 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/1.093, allocations: 1.263 MB / 1.328 GB, free: 9.684 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.268e-05/1.093, allocations: 55.23 kB / 1.328 GB, free: 9.652 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000412/1.094, allocations: 0.7002 MB / 1.329 GB, free: 9.398 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003083/1.094, allocations: 402.3 kB / 1.329 GB, free: 9.145 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/1.094, allocations: 123 kB / 1.329 GB, free: 9.125 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001496/1.094, allocations: 363.5 kB / 1.329 GB, free: 8.82 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006861/1.095, allocations: 0.5126 MB / 1.33 GB, free: 8.816 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000913/1.096, allocations: 0.8479 MB / 1.331 GB, free: 8.477 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.01055/1.106, allocations: 4.768 MB / 1.335 GB, free: 7.777 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/1.106, allocations: 6.5 kB / 1.335 GB, free: 7.773 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002204/1.109, allocations: 1.597 MB / 1.337 GB, free: 7.625 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/1.109, allocations: 9.375 kB / 1.337 GB, free: 7.625 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.109, allocations: 12.12 kB / 1.337 GB, free: 7.621 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/1.109, allocations: 14.44 kB / 1.337 GB, free: 7.621 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/1.11, allocations: 294.9 kB / 1.337 GB, free: 7.621 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/1.11, allocations: 17.06 kB / 1.337 GB, free: 7.621 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/1.111, allocations: 109.4 kB / 1.337 GB, free: 7.605 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.676e-05/1.111, allocations: 58.2 kB / 1.337 GB, free: 7.605 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 sytem: 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.0007671/1.112, allocations: 427 kB / 1.338 GB, free: 7.484 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/1.112, allocations: 164.6 kB / 1.338 GB, free: 7.402 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/1.114, allocations: 1.282 MB / 1.339 GB, free: 7.309 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/1.114, allocations: 11.19 kB / 1.339 GB, free: 7.309 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/1.114, allocations: 4.5 kB / 1.339 GB, free: 7.309 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001313/1.116, allocations: 1.228 MB / 1.34 GB, free: 6.941 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004849/1.121, allocations: 3.754 MB / 1.344 GB, free: 5.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/1.121, allocations: 12.53 kB / 1.344 GB, free: 5.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/1.122, allocations: 243 kB / 1.344 GB, free: 5.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.301e-05/1.122, allocations: 14.66 kB / 1.344 GB, free: 5.91 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.614e-05/1.122, allocations: 37.97 kB / 1.344 GB, free: 5.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.257e-05/1.122, allocations: 22.86 kB / 1.344 GB, free: 5.91 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/1.122, allocations: 17.09 kB / 1.344 GB, free: 5.91 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/1.124, allocations: 2.109 MB / 1.347 GB, free: 5.254 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005359/1.125, allocations: 363.8 kB / 1.347 GB, free: 5.074 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/1.125, allocations: 36.19 kB / 1.347 GB, free: 5.074 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/1.126, allocations: 99.42 kB / 1.347 GB, free: 5.062 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/1.126, allocations: 96.17 kB / 1.347 GB, free: 5.051 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-05/1.126, allocations: 55.41 kB / 1.347 GB, free: 5.047 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009182/1.127, allocations: 0.8542 MB / 1.348 GB, free: 4.938 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/1.127, allocations: 0 / 1.348 GB, free: 4.938 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001179/1.128, allocations: 434.8 kB / 1.348 GB, free: 4.934 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.002791/1.131, allocations: 2.776 MB / 1.351 GB, free: 3.688 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00155/1.133, allocations: 1.209 MB / 1.352 GB, free: 3.527 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.133, allocations: 2.875 kB / 1.352 GB, free: 3.527 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006252/1.133, allocations: 0.5418 MB / 1.353 GB, free: 3.461 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005625/1.139, allocations: 0.8949 MB / 1.354 GB, free: 3.176 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01985/1.159, allocations: 14.4 MB / 1.368 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009794/1.16, allocations: 1.378 MB / 1.369 GB, free: 9.223 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001676/1.161, allocations: 387.2 kB / 1.369 GB, free: 9.051 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008812/1.162, allocations: 0.6361 MB / 1.37 GB, free: 8.523 MB / 1.029 GB Notification: Performance of SimCode: time 1.112e-06/1.162, allocations: 0 / 1.37 GB, free: 8.523 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.996/6.159, allocations: 40.89 MB / 1.41 GB, free: 4.629 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/6.159, allocations: 296.9 kB / 1.41 GB, free: 4.242 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.281/10.44, allocations: 0 / 1.41 GB, free: 4.242 MB / 1.061 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches