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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|senMasFra.X|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008068/0.0008069, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007101/0.007101, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.35/1.35, 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.809/2.809, allocations: 462.6 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003417, allocations: 12.72 kB / 0.9027 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3162, allocations: 159.6 MB / 1.059 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.913/1.229, allocations: 217.3 MB / 1.271 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0183/1.248, allocations: 12.09 MB / 1.283 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003436/1.251, allocations: 62.72 kB / 1.283 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002814/1.254, allocations: 0.7149 MB / 1.283 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01149/1.265, allocations: 2.692 MB / 1.286 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005176/1.271, allocations: 1.296 MB / 1.287 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0119/1.282, allocations: 6.097 MB / 1.293 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002874/1.285, allocations: 1.429 MB / 1.295 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006961/1.292, allocations: 2.153 MB / 1.297 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004508/1.297, allocations: 1.527 MB / 1.298 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004514/1.297, allocations: 77.94 kB / 1.298 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00723/1.305, allocations: 2.444 MB / 1.301 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0013/1.306, allocations: 0.5901 MB / 1.301 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00309/1.309, allocations: 0.9415 MB / 1.302 GB, free: 18.04 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007629/1.317, allocations: 3.282 MB / 1.305 GB, free: 17.86 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.317, allocations: 0 / 1.305 GB, free: 17.86 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.375e-06/1.317, allocations: 1.281 kB / 1.305 GB, free: 17.86 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.271e-05/1.317, allocations: 0 / 1.305 GB, free: 17.86 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.004283/1.321, allocations: 1.893 MB / 1.307 GB, free: 16.84 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/1.321, allocations: 16.62 kB / 1.307 GB, free: 16.83 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003404/1.325, allocations: 0.4995 MB / 1.308 GB, free: 16.73 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002614/1.327, allocations: 1.255 MB / 1.309 GB, free: 16.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/1.327, allocations: 110.3 kB / 1.309 GB, free: 16.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/1.328, allocations: 150.3 kB / 1.309 GB, free: 16.3 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/1.331, allocations: 1.771 MB / 1.311 GB, free: 15.97 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.754e-05/1.331, allocations: 5.344 kB / 1.311 GB, free: 15.97 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/1.331, allocations: 62.59 kB / 1.311 GB, free: 15.97 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.669e-05/1.331, allocations: 53.39 kB / 1.311 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/1.333, allocations: 1.403 MB / 1.312 GB, free: 15.95 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.009764/1.343, allocations: 7.323 MB / 1.32 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/1.344, allocations: 1.049 MB / 1.321 GB, free: 11.82 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008506/1.345, allocations: 0.6892 MB / 1.321 GB, free: 11.78 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002357/1.345, allocations: 115.2 kB / 1.321 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/1.346, allocations: 51.88 kB / 1.321 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001454/1.347, allocations: 306 kB / 1.322 GB, free: 11.57 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 4.128e-06/1.347, allocations: 0 / 1.322 GB, free: 11.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.008195/1.355, allocations: 4.428 MB / 1.326 GB, free: 10.18 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/1.355, allocations: 170 kB / 1.326 GB, free: 9.988 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/1.357, allocations: 1.259 MB / 1.327 GB, free: 9.816 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.447e-05/1.357, allocations: 53.67 kB / 1.328 GB, free: 9.785 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004304/1.357, allocations: 0.6985 MB / 1.328 GB, free: 9.531 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003418/1.358, allocations: 411.6 kB / 1.329 GB, free: 9.273 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/1.358, allocations: 121.8 kB / 1.329 GB, free: 9.258 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.358, allocations: 354.4 kB / 1.329 GB, free: 8.953 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000718/1.359, allocations: 0.5171 MB / 1.33 GB, free: 8.949 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009436/1.36, allocations: 0.8448 MB / 1.33 GB, free: 8.609 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.01107/1.371, allocations: 4.769 MB / 1.335 GB, free: 7.91 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/1.371, allocations: 1.75 kB / 1.335 GB, free: 7.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002425/1.373, allocations: 1.604 MB / 1.337 GB, free: 7.758 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/1.373, allocations: 16.2 kB / 1.337 GB, free: 7.754 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/1.373, allocations: 9.375 kB / 1.337 GB, free: 7.754 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/1.373, allocations: 14.38 kB / 1.337 GB, free: 7.754 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/1.374, allocations: 284.8 kB / 1.337 GB, free: 7.754 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/1.374, allocations: 23.14 kB / 1.337 GB, free: 7.754 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/1.376, allocations: 107.3 kB / 1.337 GB, free: 7.738 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/1.376, allocations: 61.62 kB / 1.337 GB, free: 7.738 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.0008365/1.377, allocations: 428 kB / 1.337 GB, free: 7.613 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003052/1.377, allocations: 163.7 kB / 1.338 GB, free: 7.531 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/1.379, allocations: 1.278 MB / 1.339 GB, free: 7.438 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/1.379, allocations: 14.5 kB / 1.339 GB, free: 7.438 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.379, allocations: 0 / 1.339 GB, free: 7.438 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001394/1.381, allocations: 1.23 MB / 1.34 GB, free: 7.07 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005388/1.386, allocations: 3.757 MB / 1.344 GB, free: 6.043 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/1.386, allocations: 10.42 kB / 1.344 GB, free: 6.043 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/1.387, allocations: 245.6 kB / 1.344 GB, free: 6.043 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/1.387, allocations: 14.88 kB / 1.344 GB, free: 6.043 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.258e-05/1.387, allocations: 38.02 kB / 1.344 GB, free: 6.043 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-05/1.387, allocations: 20.08 kB / 1.344 GB, free: 6.043 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/1.387, allocations: 20.47 kB / 1.344 GB, free: 6.039 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/1.39, allocations: 2.109 MB / 1.346 GB, free: 5.383 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006901/1.391, allocations: 356.6 kB / 1.347 GB, free: 5.207 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/1.391, allocations: 36.11 kB / 1.347 GB, free: 5.207 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/1.392, allocations: 96.91 kB / 1.347 GB, free: 5.195 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/1.392, allocations: 95.17 kB / 1.347 GB, free: 5.184 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.859e-05/1.392, allocations: 54.84 kB / 1.347 GB, free: 5.184 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009967/1.393, allocations: 0.8561 MB / 1.348 GB, free: 5.07 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.393, allocations: 6.625 kB / 1.348 GB, free: 5.066 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00139/1.395, allocations: 429.6 kB / 1.348 GB, free: 5.066 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.0004939/1.395, allocations: 242.5 kB / 1.348 GB, free: 4.949 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00181/1.397, allocations: 1.211 MB / 1.349 GB, free: 4.926 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.397, allocations: 2.906 kB / 1.349 GB, free: 4.926 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007092/1.398, allocations: 0.5435 MB / 1.35 GB, free: 4.863 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006465/1.404, allocations: 0.8904 MB / 1.351 GB, free: 4.582 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005712/1.41, allocations: 4.158 MB / 1.355 GB, free: 1.922 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009019/1.411, allocations: 1.379 MB / 1.356 GB, free: 0.957 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001728/1.413, allocations: 378.5 kB / 1.357 GB, free: 0.793 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/1.413, allocations: 126.3 kB / 1.357 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of SimCode: time 1.092e-06/1.413, allocations: 4 kB / 1.357 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of Templates: time 0.0472/1.46, allocations: 28.67 MB / 1.385 GB, free: 13.68 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (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 & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches