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.00133/0.00133, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001232/0.001232, allocations: 197.2 kB / 16.26 MB, free: 6.629 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.324/1.324, allocations: 222.9 MB / 239.9 MB, free: 4.492 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.658/2.658, allocations: 469.8 MB / 0.7421 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 68.73 kB / 0.9082 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.249, allocations: 159.2 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.7449/0.9939, allocations: 219.8 MB / 1.278 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01632/1.01, allocations: 12.03 MB / 1.29 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00233/1.013, allocations: 67.09 kB / 1.29 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001854/1.015, allocations: 0.7451 MB / 1.291 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00725/1.022, allocations: 2.678 MB / 1.293 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003505/1.025, allocations: 1.3 MB / 1.295 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005823/1.031, allocations: 4.452 MB / 1.299 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002203/1.033, allocations: 1.694 MB / 1.301 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005753/1.039, allocations: 2.449 MB / 1.303 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003945/1.043, allocations: 1.643 MB / 1.305 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003437/1.043, allocations: 180.4 kB / 1.305 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004775/1.048, allocations: 2.273 MB / 1.307 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007153/1.049, allocations: 0.707 MB / 1.308 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00127/1.05, allocations: 1.049 MB / 1.309 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00448/1.055, allocations: 3.413 MB / 1.312 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.055, allocations: 4.109 kB / 1.312 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.964e-06/1.055, allocations: 5.188 kB / 1.312 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.356e-05/1.055, allocations: 0 / 1.312 GB, free: 3.129 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.003623/1.058, allocations: 2.279 MB / 1.314 GB, free: 18.05 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/1.058, allocations: 9.875 kB / 1.314 GB, free: 18.05 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002497/1.059, allocations: 210 kB / 1.315 GB, free: 18.01 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002904/1.062, allocations: 0.5007 MB / 1.315 GB, free: 17.91 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/1.064, allocations: 1.249 MB / 1.316 GB, free: 17.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-05/1.064, allocations: 114.5 kB / 1.316 GB, free: 17.48 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/1.064, allocations: 149.8 kB / 1.317 GB, free: 17.48 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/1.066, allocations: 1.764 MB / 1.318 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.591e-05/1.066, allocations: 6.156 kB / 1.318 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/1.066, allocations: 61.25 kB / 1.318 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.601e-05/1.067, allocations: 54.89 kB / 1.318 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/1.068, allocations: 1.403 MB / 1.32 GB, free: 17.14 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.007803/1.076, allocations: 7.301 MB / 1.327 GB, free: 13.19 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/1.078, allocations: 1.042 MB / 1.328 GB, free: 13.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007862/1.078, allocations: 0.6945 MB / 1.329 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002332/1.079, allocations: 126.8 kB / 1.329 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/1.079, allocations: 52.25 kB / 1.329 GB, free: 12.87 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001179/1.08, allocations: 322.6 kB / 1.329 GB, free: 12.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 2.976e-06/1.08, allocations: 3.938 kB / 1.329 GB, free: 12.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.007005/1.087, allocations: 4.428 MB / 1.333 GB, free: 11.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.693e-05/1.087, allocations: 180.3 kB / 1.334 GB, free: 11.21 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/1.088, allocations: 1.257 MB / 1.335 GB, free: 11.04 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.467e-05/1.088, allocations: 56.02 kB / 1.335 GB, free: 11.01 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000447/1.089, allocations: 0.6998 MB / 1.335 GB, free: 10.75 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003483/1.089, allocations: 402.7 kB / 1.336 GB, free: 10.5 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003358/1.09, allocations: 257.9 kB / 1.336 GB, free: 10.48 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000161/1.09, allocations: 358.8 kB / 1.336 GB, free: 10.17 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000685/1.09, allocations: 0.5275 MB / 1.337 GB, free: 10.17 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009502/1.091, allocations: 0.8582 MB / 1.338 GB, free: 9.82 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.01048/1.102, allocations: 4.805 MB / 1.343 GB, free: 8.516 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/1.102, allocations: 1.812 kB / 1.343 GB, free: 8.516 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00247/1.104, allocations: 1.62 MB / 1.344 GB, free: 7.898 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/1.104, allocations: 8.219 kB / 1.344 GB, free: 7.898 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/1.104, allocations: 7.375 kB / 1.344 GB, free: 7.898 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.957e-05/1.104, allocations: 20.72 kB / 1.344 GB, free: 7.895 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/1.105, allocations: 291.6 kB / 1.344 GB, free: 7.883 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.232e-05/1.106, allocations: 22.22 kB / 1.344 GB, free: 7.879 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/1.107, allocations: 110.1 kB / 1.345 GB, free: 7.844 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/1.107, allocations: 60.56 kB / 1.345 GB, free: 7.832 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.0007582/1.108, allocations: 424.3 kB / 1.345 GB, free: 7.586 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002959/1.108, allocations: 168.1 kB / 1.345 GB, free: 7.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/1.11, allocations: 1.288 MB / 1.346 GB, free: 6.953 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/1.11, allocations: 13.34 kB / 1.346 GB, free: 6.953 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/1.11, allocations: 6.469 kB / 1.346 GB, free: 6.949 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00148/1.112, allocations: 1.241 MB / 1.348 GB, free: 6.238 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005316/1.117, allocations: 3.761 MB / 1.351 GB, free: 4.266 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/1.117, allocations: 14.81 kB / 1.351 GB, free: 4.262 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/1.118, allocations: 245.3 kB / 1.352 GB, free: 4.254 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.711e-05/1.118, allocations: 19.55 kB / 1.352 GB, free: 4.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-05/1.118, allocations: 42.36 kB / 1.352 GB, free: 4.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.435e-05/1.118, allocations: 23.28 kB / 1.352 GB, free: 4.23 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/1.118, allocations: 16.53 kB / 1.352 GB, free: 4.23 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002589/1.121, allocations: 2.12 MB / 1.354 GB, free: 2.984 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006633/1.122, allocations: 366.9 kB / 1.354 GB, free: 2.738 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/1.122, allocations: 38.84 kB / 1.354 GB, free: 2.723 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/1.123, allocations: 98.3 kB / 1.354 GB, free: 2.688 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/1.123, allocations: 99.73 kB / 1.354 GB, free: 2.664 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.44e-05/1.123, allocations: 54.22 kB / 1.354 GB, free: 2.656 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001014/1.124, allocations: 0.8479 MB / 1.355 GB, free: 2.332 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.124, allocations: 0 / 1.355 GB, free: 2.332 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001276/1.126, allocations: 438.3 kB / 1.356 GB, free: 2.289 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.003299/1.129, allocations: 2.807 MB / 1.358 GB, free: 488 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002339/1.131, allocations: 1.429 MB / 1.36 GB, free: 72 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/1.131, allocations: 5.906 kB / 1.36 GB, free: 68 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008507/1.132, allocations: 0.5703 MB / 1.36 GB, free: 15.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003686/1.136, allocations: 0.9339 MB / 1.361 GB, free: 15.7 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01961/1.155, allocations: 14.3 MB / 1.375 GB, free: 6.336 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009511/1.156, allocations: 1.37 MB / 1.377 GB, free: 5.328 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001549/1.158, allocations: 385.7 kB / 1.377 GB, free: 5.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009026/1.159, allocations: 0.6458 MB / 1.378 GB, free: 4.621 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/1.159, allocations: 0 / 1.378 GB, free: 4.621 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.179/5.338, allocations: 42.69 MB / 1.419 GB, free: 11.81 MB / 1.076 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003821/5.338, allocations: 281.8 kB / 1.419 GB, free: 11.43 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.713/8.051, allocations: 2.25 kB / 1.419 GB, free: 11.43 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