Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senMasFlo.m_flow|senSpeEnt.H_flow|cheMasFra.y|cheMasFlo.y|cheSpeEnt.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001023, allocations: 91.84 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.00851/0.008511, allocations: 169 kB / 16.26 MB, free: 6.68 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.437/1.437, 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 9.1.3-maint.9.1.x/package.mo): time 2.511/2.511, allocations: 390.9 MB / 0.6663 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003809, allocations: 8 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7684/0.7688, allocations: 142.4 MB / 0.955 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.251/1.02, allocations: 216.7 MB / 1.167 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01973/1.04, allocations: 13.69 MB / 1.18 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/1.042, allocations: 59.62 kB / 1.18 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002151/1.044, allocations: 0.6799 MB / 1.181 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006439/1.05, allocations: 2.038 MB / 1.183 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004166/1.054, allocations: 1.047 MB / 1.184 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006794/1.061, allocations: 4.017 MB / 1.188 GB, free: 328 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002016/1.063, allocations: 0.9952 MB / 1.189 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006151/1.069, allocations: 2.192 MB / 1.191 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002967/1.072, allocations: 1.028 MB / 1.192 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002751/1.073, allocations: 48 kB / 1.192 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003659/1.076, allocations: 1.82 MB / 1.194 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005962/1.077, allocations: 374.6 kB / 1.194 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001216/1.078, allocations: 0.6272 MB / 1.195 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003431/1.082, allocations: 2.083 MB / 1.197 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/1.082, allocations: 4 kB / 1.197 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.843e-06/1.082, allocations: 0 / 1.197 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.613e-05/1.082, allocations: 0 / 1.197 GB, free: 7.121 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.002623/1.084, allocations: 1.405 MB / 1.198 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/1.084, allocations: 12.03 kB / 1.198 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002482/1.087, allocations: 477.8 kB / 1.198 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/1.089, allocations: 0.8934 MB / 1.199 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001035/1.09, allocations: 273.8 kB / 1.2 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/1.09, allocations: 88 kB / 1.2 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002402/1.092, allocations: 1.214 MB / 1.201 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/1.092, allocations: 7.938 kB / 1.201 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-05/1.092, allocations: 36 kB / 1.201 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.311e-05/1.092, allocations: 33.31 kB / 1.201 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002292/1.095, allocations: 0.9298 MB / 1.202 GB, free: 1.57 MB / 0.9512 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.008218/1.103, allocations: 5.643 MB / 1.207 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004455/1.103, allocations: 267.7 kB / 1.208 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/1.104, allocations: 149 kB / 1.208 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002086/1.104, allocations: 97.09 kB / 1.208 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/1.104, allocations: 42.5 kB / 1.208 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009466/1.105, allocations: 139 kB / 1.208 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 4.168e-06/1.105, allocations: 0 / 1.208 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.00149/1.106, allocations: 468.6 kB / 1.208 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/1.107, allocations: 191.8 kB / 1.209 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002414/1.109, allocations: 1.31 MB / 1.21 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.527e-05/1.109, allocations: 33.7 kB / 1.21 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005851/1.11, allocations: 0.6089 MB / 1.211 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.008e-05/1.11, allocations: 71 kB / 1.211 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.218e-05/1.11, allocations: 49.7 kB / 1.211 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.11, allocations: 326 kB / 1.211 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007824/1.111, allocations: 256.9 kB / 1.211 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/1.112, allocations: 0.5382 MB / 1.212 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/1.113, allocations: 0.6603 MB / 1.212 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.617e-06/1.113, allocations: 4 kB / 1.212 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002256/1.115, allocations: 0.8631 MB / 1.213 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/1.115, allocations: 12 kB / 1.213 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/1.115, allocations: 8 kB / 1.213 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.992e-05/1.115, allocations: 16.03 kB / 1.213 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007535/1.116, allocations: 172.2 kB / 1.213 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.111e-05/1.116, allocations: 15.94 kB / 1.213 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/1.118, allocations: 207.7 kB / 1.214 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.412e-05/1.118, allocations: 39.98 kB / 1.214 GB, free: 4.703 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 63 * 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.0005385/1.119, allocations: 301.5 kB / 1.214 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003232/1.119, allocations: 114.6 kB / 1.214 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000561/1.119, allocations: 276.2 kB / 1.214 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/1.119, allocations: 4 kB / 1.214 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/1.119, allocations: 4 kB / 1.214 GB, free: 4 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/1.12, allocations: 7.922 kB / 1.214 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002576/1.122, allocations: 1.682 MB / 1.216 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.122, allocations: 4.375 kB / 1.216 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/1.122, allocations: 39.92 kB / 1.216 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/1.122, allocations: 4 kB / 1.216 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/1.122, allocations: 8 kB / 1.216 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/1.122, allocations: 4 kB / 1.216 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/1.122, allocations: 7.984 kB / 1.216 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006283/1.123, allocations: 491.8 kB / 1.217 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000436/1.123, allocations: 235.6 kB / 1.217 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/1.124, allocations: 4 kB / 1.217 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009057/1.125, allocations: 83.8 kB / 1.217 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/1.125, allocations: 27.86 kB / 1.217 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/1.125, allocations: 8 kB / 1.217 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001778/1.126, allocations: 0.931 MB / 1.218 GB, free: 308 kB / 0.9669 GB Notification: Performance of sort global known variables: time 2e-07/1.126, allocations: 0 / 1.218 GB, free: 308 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001062/1.128, allocations: 275.4 kB / 1.218 GB, free: 32 kB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * 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 (20): * Single equations (assignments): 20 * 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.0005689/1.128, allocations: 207.7 kB / 1.218 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001271/1.129, allocations: 462.8 kB / 1.219 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.129, allocations: 0 / 1.219 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001725/1.13, allocations: 105.2 kB / 1.219 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00363/1.133, allocations: 0.5503 MB / 1.219 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003541/1.137, allocations: 2.114 MB / 1.221 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009175/1.138, allocations: 1.11 MB / 1.222 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009875/1.139, allocations: 229.3 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/1.139, allocations: 75.42 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of SimCode: time 1.102e-06/1.139, allocations: 0 / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of Templates: time 0.03489/1.174, allocations: 17.43 MB / 1.24 GB, free: 9.961 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches