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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001219/0.001222, 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.001796/0.001796, allocations: 192.6 kB / 16.25 MB, free: 6.586 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.354/1.354, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.656/2.656, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 68.62 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3323, allocations: 157.4 MB / 1.052 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.8126/1.145, allocations: 219.8 MB / 1.267 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01635/1.161, allocations: 12.03 MB / 1.279 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002814/1.164, allocations: 67.28 kB / 1.279 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002121/1.166, allocations: 0.7376 MB / 1.28 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007545/1.174, allocations: 2.686 MB / 1.282 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003302/1.177, allocations: 1.29 MB / 1.283 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006337/1.184, allocations: 4.459 MB / 1.288 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/1.186, allocations: 1.687 MB / 1.289 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005326/1.191, allocations: 2.45 MB / 1.292 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003062/1.194, allocations: 1.648 MB / 1.293 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002803/1.194, allocations: 180.5 kB / 1.294 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004281/1.199, allocations: 2.271 MB / 1.296 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006546/1.199, allocations: 0.7019 MB / 1.297 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001128/1.201, allocations: 1.051 MB / 1.298 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003981/1.205, allocations: 3.422 MB / 1.301 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/1.205, allocations: 0 / 1.301 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/1.205, allocations: 0 / 1.301 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.333e-05/1.205, allocations: 1 kB / 1.301 GB, free: 1.344 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.003466/1.208, allocations: 2.278 MB / 1.303 GB, free: 16.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/1.208, allocations: 9.406 kB / 1.303 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002411/1.208, allocations: 209.2 kB / 1.303 GB, free: 16.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002908/1.211, allocations: 0.4981 MB / 1.304 GB, free: 16.13 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/1.213, allocations: 1.257 MB / 1.305 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.49e-05/1.213, allocations: 112.4 kB / 1.305 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/1.213, allocations: 149.8 kB / 1.305 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/1.216, allocations: 1.76 MB / 1.307 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.839e-05/1.216, allocations: 15.19 kB / 1.307 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/1.216, allocations: 56.31 kB / 1.307 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.026e-05/1.216, allocations: 60.95 kB / 1.307 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/1.218, allocations: 1.396 MB / 1.309 GB, free: 15.36 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.007542/1.226, allocations: 7.299 MB / 1.316 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/1.227, allocations: 1.057 MB / 1.317 GB, free: 11.28 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000808/1.228, allocations: 0.6949 MB / 1.317 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/1.228, allocations: 110.1 kB / 1.317 GB, free: 11.14 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/1.228, allocations: 54.72 kB / 1.318 GB, free: 11.1 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001128/1.229, allocations: 311.3 kB / 1.318 GB, free: 11.04 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 2.685e-06/1.229, allocations: 0 / 1.318 GB, free: 11.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.007325/1.237, allocations: 4.448 MB / 1.322 GB, free: 9.652 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.081e-05/1.237, allocations: 166.8 kB / 1.322 GB, free: 9.465 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/1.238, allocations: 1.263 MB / 1.324 GB, free: 9.293 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/1.238, allocations: 51.89 kB / 1.324 GB, free: 9.262 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004989/1.239, allocations: 0.6991 MB / 1.324 GB, free: 9.008 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003522/1.239, allocations: 403.6 kB / 1.325 GB, free: 8.754 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003632/1.24, allocations: 267.5 kB / 1.325 GB, free: 8.73 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.24, allocations: 355.6 kB / 1.325 GB, free: 8.426 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007125/1.24, allocations: 0.525 MB / 1.326 GB, free: 8.422 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009808/1.241, allocations: 0.8602 MB / 1.327 GB, free: 8.082 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.01067/1.252, allocations: 4.812 MB / 1.331 GB, free: 7.379 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/1.252, allocations: 6.281 kB / 1.331 GB, free: 7.375 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002237/1.254, allocations: 1.617 MB / 1.333 GB, free: 7.223 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.254, allocations: 9.953 kB / 1.333 GB, free: 7.223 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.254, allocations: 10.12 kB / 1.333 GB, free: 7.223 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/1.254, allocations: 13.44 kB / 1.333 GB, free: 7.223 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/1.255, allocations: 292.8 kB / 1.333 GB, free: 7.223 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.961e-05/1.256, allocations: 19.3 kB / 1.333 GB, free: 7.223 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/1.257, allocations: 107.9 kB / 1.333 GB, free: 7.207 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.86e-05/1.257, allocations: 64.5 kB / 1.333 GB, free: 7.207 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.0006635/1.258, allocations: 429.5 kB / 1.334 GB, free: 7.082 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002964/1.258, allocations: 164.2 kB / 1.334 GB, free: 7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/1.26, allocations: 1.288 MB / 1.335 GB, free: 6.91 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/1.26, allocations: 13.47 kB / 1.335 GB, free: 6.91 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.26, allocations: 0 / 1.335 GB, free: 6.91 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00138/1.261, allocations: 1.249 MB / 1.336 GB, free: 6.539 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004932/1.266, allocations: 3.759 MB / 1.34 GB, free: 5.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/1.266, allocations: 10.97 kB / 1.34 GB, free: 5.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/1.267, allocations: 251.9 kB / 1.34 GB, free: 5.516 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/1.267, allocations: 13.53 kB / 1.34 GB, free: 5.516 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.46e-05/1.267, allocations: 37.69 kB / 1.34 GB, free: 5.516 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.629e-05/1.267, allocations: 23.17 kB / 1.34 GB, free: 5.516 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/1.267, allocations: 12.69 kB / 1.34 GB, free: 5.516 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/1.27, allocations: 2.135 MB / 1.343 GB, free: 4.855 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005607/1.27, allocations: 354.9 kB / 1.343 GB, free: 4.68 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/1.271, allocations: 40.28 kB / 1.343 GB, free: 4.676 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/1.272, allocations: 97.75 kB / 1.343 GB, free: 4.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/1.272, allocations: 98.31 kB / 1.343 GB, free: 4.648 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-05/1.272, allocations: 59.08 kB / 1.343 GB, free: 4.645 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009127/1.273, allocations: 0.849 MB / 1.344 GB, free: 4.535 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.273, allocations: 0 / 1.344 GB, free: 4.535 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001202/1.274, allocations: 432.8 kB / 1.344 GB, free: 4.535 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.002974/1.277, allocations: 2.8 MB / 1.347 GB, free: 3.32 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002187/1.279, allocations: 1.433 MB / 1.349 GB, free: 2.914 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.279, allocations: 5.75 kB / 1.349 GB, free: 2.91 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006713/1.28, allocations: 0.5487 MB / 1.349 GB, free: 2.758 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003586/1.284, allocations: 0.939 MB / 1.35 GB, free: 2.469 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/1.302, allocations: 14.3 MB / 1.364 GB, free: 9.691 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/1.303, allocations: 1.378 MB / 1.365 GB, free: 8.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001604/1.305, allocations: 377 kB / 1.366 GB, free: 8.832 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009362/1.306, allocations: 0.6413 MB / 1.366 GB, free: 8.352 MB / 1.029 GB Notification: Performance of SimCode: time 1.012e-06/1.306, allocations: 7 kB / 1.366 GB, free: 8.348 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.828/4.134, allocations: 42.69 MB / 1.408 GB, free: 1.539 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/4.134, allocations: 298.9 kB / 1.408 GB, free: 1.148 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.559/7.693, allocations: 2.812 kB / 1.408 GB, free: 1.148 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