Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001509/0.001509, allocations: 106.6 kB / 15.99 MB, free: 6.355 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.001513/0.001513, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.396/1.396, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.496/2.496, allocations: 437.1 MB / 0.7107 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 72.17 kB / 0.8694 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3272, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.7973/1.124, allocations: 219.8 MB / 1.232 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02022/1.145, allocations: 12.02 MB / 1.244 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003065/1.148, allocations: 67.56 kB / 1.244 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002944/1.151, allocations: 0.7382 MB / 1.245 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.009082/1.16, allocations: 2.698 MB / 1.247 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004165/1.164, allocations: 1.286 MB / 1.249 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.007603/1.172, allocations: 4.455 MB / 1.253 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003177/1.175, allocations: 1.692 MB / 1.255 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007055/1.182, allocations: 2.442 MB / 1.257 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004206/1.186, allocations: 1.65 MB / 1.259 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000496/1.187, allocations: 176 kB / 1.259 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004992/1.192, allocations: 2.276 MB / 1.261 GB, free: 496 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000988/1.193, allocations: 0.709 MB / 1.262 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00164/1.195, allocations: 1.046 MB / 1.263 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004022/1.199, allocations: 2.483 MB / 1.265 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.199, allocations: 0 / 1.265 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/1.199, allocations: 0 / 1.265 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.091e-05/1.199, allocations: 0 / 1.265 GB, free: 12.23 MB / 0.9669 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.004279/1.203, allocations: 2.283 MB / 1.267 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.203, allocations: 8.922 kB / 1.267 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003196/1.206, allocations: 0.4972 MB / 1.268 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002452/1.209, allocations: 1.255 MB / 1.269 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.865e-05/1.209, allocations: 110.7 kB / 1.269 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002558/1.209, allocations: 148 kB / 1.269 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003087/1.212, allocations: 1.76 MB / 1.271 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.209e-05/1.212, allocations: 11.84 kB / 1.271 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/1.212, allocations: 63.98 kB / 1.271 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.572e-05/1.212, allocations: 50.55 kB / 1.271 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002453/1.215, allocations: 1.395 MB / 1.272 GB, free: 4.426 MB / 0.9669 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.01019/1.225, allocations: 7.304 MB / 1.28 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/1.227, allocations: 1.059 MB / 1.281 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/1.228, allocations: 0.6828 MB / 1.281 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002435/1.228, allocations: 122.2 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.423e-05/1.228, allocations: 55.5 kB / 1.281 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001429/1.23, allocations: 318.5 kB / 1.282 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=106): time 3.316e-06/1.23, allocations: 0 / 1.282 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=112): time 0.008893/1.239, allocations: 4.437 MB / 1.286 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/1.239, allocations: 175.1 kB / 1.286 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/1.241, allocations: 1.259 MB / 1.288 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/1.241, allocations: 49.7 kB / 1.288 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006232/1.241, allocations: 0.7046 MB / 1.288 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004406/1.242, allocations: 402.1 kB / 1.289 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004182/1.242, allocations: 267.5 kB / 1.289 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000198/1.242, allocations: 361.9 kB / 1.289 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008821/1.243, allocations: 0.5231 MB / 1.29 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/1.244, allocations: 0.8592 MB / 1.291 GB, free: 1.145 MB / 0.9825 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.01232/1.257, allocations: 4.804 MB / 1.295 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/1.257, allocations: 0 / 1.295 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002919/1.26, allocations: 1.62 MB / 1.297 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/1.26, allocations: 8 kB / 1.297 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/1.26, allocations: 8 kB / 1.297 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.384e-05/1.26, allocations: 20.03 kB / 1.297 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/1.261, allocations: 291.5 kB / 1.297 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.863e-05/1.261, allocations: 16 kB / 1.297 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/1.263, allocations: 115.6 kB / 1.297 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/1.263, allocations: 59.98 kB / 1.297 GB, free: 10.04 MB / 0.9981 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.0008452/1.264, allocations: 427.7 kB / 1.298 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003765/1.264, allocations: 162 kB / 1.298 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002394/1.267, allocations: 1.295 MB / 1.299 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/1.267, allocations: 12 kB / 1.299 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.267, allocations: 0 / 1.299 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001746/1.268, allocations: 1.248 MB / 1.3 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006463/1.275, allocations: 3.762 MB / 1.304 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/1.275, allocations: 12 kB / 1.304 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/1.276, allocations: 251.6 kB / 1.304 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.426e-05/1.276, allocations: 20.03 kB / 1.304 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.622e-05/1.276, allocations: 35.94 kB / 1.304 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.201e-05/1.276, allocations: 24.39 kB / 1.304 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.221e-05/1.276, allocations: 15.94 kB / 1.304 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003132/1.279, allocations: 2.121 MB / 1.307 GB, free: 236 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007494/1.28, allocations: 359 kB / 1.307 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/1.28, allocations: 39.94 kB / 1.307 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/1.281, allocations: 97.16 kB / 1.307 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/1.282, allocations: 104.3 kB / 1.307 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.954e-05/1.282, allocations: 55.92 kB / 1.307 GB, free: 15.57 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001207/1.283, allocations: 0.849 MB / 1.308 GB, free: 14.72 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/1.283, allocations: 0 / 1.308 GB, free: 14.72 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001399/1.284, allocations: 436 kB / 1.308 GB, free: 14.29 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.000572/1.285, allocations: 243.8 kB / 1.309 GB, free: 14.05 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002705/1.288, allocations: 1.423 MB / 1.31 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.288, allocations: 0 / 1.31 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008675/1.289, allocations: 0.5467 MB / 1.311 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004046/1.293, allocations: 0.935 MB / 1.311 GB, free: 11.18 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006083/1.299, allocations: 4.1 MB / 1.315 GB, free: 6.91 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/1.3, allocations: 1.368 MB / 1.317 GB, free: 5.516 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005401/1.3, allocations: 139.4 kB / 1.317 GB, free: 5.379 MB / 1.014 GB Notification: Performance of SimCode: time 8.92e-07/1.3, allocations: 0 / 1.317 GB, free: 5.379 MB / 1.014 GB Notification: Performance of Templates: time 0.04153/1.342, allocations: 25.23 MB / 1.342 GB, free: 12.32 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches