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.0008115/0.0008114, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008903/0.0008903, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.755/2.755, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003388, allocations: 16.58 kB / 0.9021 GB, free: 36.74 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2718, allocations: 159.6 MB / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.7617/1.034, allocations: 202.8 MB / 1.256 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01469/1.048, allocations: 11.38 MB / 1.267 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00253/1.051, allocations: 62.22 kB / 1.267 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002314/1.053, allocations: 0.5832 MB / 1.268 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007085/1.06, allocations: 2.116 MB / 1.27 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003819/1.064, allocations: 1.039 MB / 1.271 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00798/1.072, allocations: 5.135 MB / 1.276 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003587/1.076, allocations: 1.325 MB / 1.277 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005998/1.082, allocations: 1.935 MB / 1.279 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004041/1.086, allocations: 1.437 MB / 1.28 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009102/1.087, allocations: 77.62 kB / 1.281 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005088/1.092, allocations: 1.061 MB / 1.282 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001738/1.094, allocations: 0.5834 MB / 1.282 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001861/1.096, allocations: 385.7 kB / 1.282 GB, free: 22.3 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004336/1.1, allocations: 2.253 MB / 1.285 GB, free: 22.13 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.1, allocations: 7.062 kB / 1.285 GB, free: 22.12 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.833e-06/1.1, allocations: 0 / 1.285 GB, free: 22.12 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001139/1.1, allocations: 0.9375 kB / 1.285 GB, free: 22.12 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.005023/1.105, allocations: 1.917 MB / 1.287 GB, free: 21.1 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/1.105, allocations: 9.062 kB / 1.287 GB, free: 21.1 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003672/1.109, allocations: 0.4965 MB / 1.287 GB, free: 20.99 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003128/1.112, allocations: 1.205 MB / 1.288 GB, free: 20.62 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/1.112, allocations: 110.5 kB / 1.288 GB, free: 20.61 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004598/1.113, allocations: 153.4 kB / 1.288 GB, free: 20.61 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003765/1.116, allocations: 1.754 MB / 1.29 GB, free: 20.29 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.603e-05/1.116, allocations: 5 kB / 1.29 GB, free: 20.29 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002258/1.117, allocations: 63.41 kB / 1.29 GB, free: 20.29 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-05/1.117, allocations: 56.28 kB / 1.29 GB, free: 20.28 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002752/1.12, allocations: 1.397 MB / 1.292 GB, free: 20.26 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.01036/1.13, allocations: 7.31 MB / 1.299 GB, free: 16.29 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/1.132, allocations: 1.04 MB / 1.3 GB, free: 16.16 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/1.133, allocations: 0.6936 MB / 1.301 GB, free: 16.11 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002413/1.133, allocations: 112 kB / 1.301 GB, free: 16.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.982e-05/1.133, allocations: 51.31 kB / 1.301 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001529/1.135, allocations: 308.9 kB / 1.301 GB, free: 15.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 9.147e-06/1.135, allocations: 4.031 kB / 1.301 GB, free: 15.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.01049/1.145, allocations: 4.407 MB / 1.305 GB, free: 14.54 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.271e-05/1.145, allocations: 176.2 kB / 1.305 GB, free: 14.35 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/1.147, allocations: 1.25 MB / 1.307 GB, free: 14.18 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001655/1.147, allocations: 50.02 kB / 1.307 GB, free: 14.15 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005188/1.148, allocations: 0.6999 MB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004078/1.148, allocations: 405.9 kB / 1.308 GB, free: 13.64 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.96e-05/1.149, allocations: 25.41 kB / 1.308 GB, free: 13.64 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.149, allocations: 358.6 kB / 1.308 GB, free: 13.34 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008643/1.15, allocations: 0.5156 MB / 1.309 GB, free: 13.33 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/1.151, allocations: 0.8427 MB / 1.309 GB, free: 12.99 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: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009387/1.16, allocations: 3.493 MB / 1.313 GB, free: 12.61 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/1.16, allocations: 3.062 kB / 1.313 GB, free: 12.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.0027/1.163, allocations: 1.601 MB / 1.314 GB, free: 12.46 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/1.163, allocations: 6.812 kB / 1.314 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/1.163, allocations: 7.875 kB / 1.314 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.813e-05/1.163, allocations: 19.34 kB / 1.314 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/1.164, allocations: 296.1 kB / 1.315 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.188e-05/1.164, allocations: 22.92 kB / 1.315 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/1.166, allocations: 104.6 kB / 1.315 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/1.166, allocations: 59.91 kB / 1.315 GB, free: 12.44 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: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001064/1.167, allocations: 423 kB / 1.315 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005325/1.168, allocations: 166.5 kB / 1.316 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/1.17, allocations: 1.271 MB / 1.317 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/1.17, allocations: 11.53 kB / 1.317 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/1.17, allocations: 1.5 kB / 1.317 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001449/1.171, allocations: 1.226 MB / 1.318 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006254/1.178, allocations: 3.749 MB / 1.322 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/1.178, allocations: 10.2 kB / 1.322 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/1.179, allocations: 247.4 kB / 1.322 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-05/1.179, allocations: 17.41 kB / 1.322 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.056e-05/1.179, allocations: 39.72 kB / 1.322 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.967e-05/1.179, allocations: 22.59 kB / 1.322 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/1.179, allocations: 15.25 kB / 1.322 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002644/1.182, allocations: 2.093 MB / 1.324 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000967/1.183, allocations: 358.6 kB / 1.324 GB, free: 9.938 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004746/1.183, allocations: 37.53 kB / 1.324 GB, free: 9.938 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/1.185, allocations: 94.44 kB / 1.324 GB, free: 9.922 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/1.185, allocations: 104.9 kB / 1.325 GB, free: 9.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.185, allocations: 54.41 kB / 1.325 GB, free: 9.91 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001294/1.186, allocations: 0.836 MB / 1.325 GB, free: 9.801 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/1.186, allocations: 0 / 1.325 GB, free: 9.801 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001933/1.188, allocations: 437.7 kB / 1.326 GB, free: 9.797 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006488/1.189, allocations: 250.8 kB / 1.326 GB, free: 9.676 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002149/1.191, allocations: 1.207 MB / 1.327 GB, free: 9.652 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/1.191, allocations: 1.75 kB / 1.327 GB, free: 9.652 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000761/1.192, allocations: 0.5372 MB / 1.328 GB, free: 9.645 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004723/1.196, allocations: 0.8891 MB / 1.329 GB, free: 9.578 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006417/1.203, allocations: 4.05 MB / 1.333 GB, free: 7.398 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/1.204, allocations: 1.38 MB / 1.334 GB, free: 6.664 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002023/1.206, allocations: 377.4 kB / 1.334 GB, free: 6.59 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005825/1.207, allocations: 131.8 kB / 1.334 GB, free: 6.578 MB / 1.014 GB Notification: Performance of SimCode: time 9.92e-07/1.207, allocations: 0 / 1.334 GB, free: 6.578 MB / 1.014 GB Notification: Performance of Templates: time 0.04498/1.252, allocations: 27.79 MB / 1.362 GB, free: 10.45 MB / 1.029 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