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.007605/0.007604, allocations: 100.3 kB / 15.87 MB, free: 5.867 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.001806/0.001806, allocations: 192.2 kB / 16.79 MB, free: 5.809 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.487/1.487, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.829/2.829, allocations: 461.8 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 64.72 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3397, allocations: 157.4 MB / 1.053 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.9219/1.262, allocations: 220.3 MB / 1.268 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01898/1.281, allocations: 12.21 MB / 1.28 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003639/1.284, allocations: 66.22 kB / 1.28 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00282/1.287, allocations: 0.7155 MB / 1.281 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008903/1.296, allocations: 2.693 MB / 1.283 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0045/1.301, allocations: 1.284 MB / 1.284 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01037/1.311, allocations: 6.095 MB / 1.29 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0027/1.314, allocations: 1.49 MB / 1.292 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006601/1.32, allocations: 2.21 MB / 1.294 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004673/1.325, allocations: 1.606 MB / 1.296 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006349/1.326, allocations: 101.6 kB / 1.296 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006511/1.332, allocations: 2.47 MB / 1.298 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001211/1.334, allocations: 0.6347 MB / 1.299 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00208/1.336, allocations: 0.9671 MB / 1.3 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003798/1.339, allocations: 2.446 MB / 1.302 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/1.339, allocations: 0.8438 kB / 1.302 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.312e-06/1.339, allocations: 0 / 1.302 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.543e-05/1.34, allocations: 0 / 1.302 GB, free: 1.02 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.004773/1.344, allocations: 2.276 MB / 1.304 GB, free: 15.94 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/1.344, allocations: 9.688 kB / 1.304 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003355/1.348, allocations: 0.4965 MB / 1.305 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/1.35, allocations: 1.263 MB / 1.306 GB, free: 15.4 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.953e-05/1.35, allocations: 112.2 kB / 1.306 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002529/1.351, allocations: 149.4 kB / 1.306 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002902/1.354, allocations: 1.766 MB / 1.308 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.703e-05/1.354, allocations: 9.281 kB / 1.308 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/1.354, allocations: 60.31 kB / 1.308 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.285e-05/1.354, allocations: 58.2 kB / 1.308 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/1.356, allocations: 1.398 MB / 1.309 GB, free: 15.04 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.009358/1.365, allocations: 7.302 MB / 1.317 GB, free: 11.05 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/1.367, allocations: 1.049 MB / 1.318 GB, free: 10.92 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008848/1.368, allocations: 0.6911 MB / 1.318 GB, free: 10.88 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002246/1.368, allocations: 115.9 kB / 1.318 GB, free: 10.78 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/1.368, allocations: 54.34 kB / 1.318 GB, free: 10.74 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001435/1.369, allocations: 304.8 kB / 1.319 GB, free: 10.67 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 4.619e-06/1.37, allocations: 0 / 1.319 GB, free: 10.67 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.008196/1.378, allocations: 4.417 MB / 1.323 GB, free: 9.273 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.378, allocations: 174.5 kB / 1.323 GB, free: 9.086 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/1.379, allocations: 1.261 MB / 1.324 GB, free: 8.91 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001308/1.379, allocations: 52.05 kB / 1.325 GB, free: 8.879 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000509/1.38, allocations: 0.7014 MB / 1.325 GB, free: 8.625 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003589/1.38, allocations: 401.8 kB / 1.326 GB, free: 8.371 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003488/1.381, allocations: 260.2 kB / 1.326 GB, free: 8.348 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.381, allocations: 356 kB / 1.326 GB, free: 8.043 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007666/1.382, allocations: 0.5157 MB / 1.327 GB, free: 8.039 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/1.383, allocations: 0.8534 MB / 1.328 GB, free: 7.691 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.01123/1.394, allocations: 4.748 MB / 1.332 GB, free: 6.996 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/1.394, allocations: 2.094 kB / 1.332 GB, free: 6.996 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002547/1.397, allocations: 1.603 MB / 1.334 GB, free: 6.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/1.397, allocations: 8.156 kB / 1.334 GB, free: 6.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/1.397, allocations: 10.83 kB / 1.334 GB, free: 6.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/1.397, allocations: 16.83 kB / 1.334 GB, free: 6.836 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/1.398, allocations: 289.2 kB / 1.334 GB, free: 6.836 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.817e-05/1.398, allocations: 21.78 kB / 1.334 GB, free: 6.836 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/1.4, allocations: 113.4 kB / 1.334 GB, free: 6.816 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/1.4, allocations: 59.64 kB / 1.334 GB, free: 6.816 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.0008215/1.401, allocations: 427.2 kB / 1.335 GB, free: 6.695 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003686/1.401, allocations: 166.6 kB / 1.335 GB, free: 6.609 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002117/1.403, allocations: 1.273 MB / 1.336 GB, free: 6.523 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/1.403, allocations: 15.19 kB / 1.336 GB, free: 6.52 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.403, allocations: 2.188 kB / 1.336 GB, free: 6.52 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001449/1.405, allocations: 1.228 MB / 1.337 GB, free: 6.156 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005828/1.41, allocations: 3.746 MB / 1.341 GB, free: 5.133 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/1.41, allocations: 8.438 kB / 1.341 GB, free: 5.133 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/1.411, allocations: 248.3 kB / 1.341 GB, free: 5.133 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.554e-05/1.412, allocations: 13.59 kB / 1.341 GB, free: 5.133 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.05e-05/1.412, allocations: 40.91 kB / 1.341 GB, free: 5.129 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.881e-05/1.412, allocations: 22.47 kB / 1.341 GB, free: 5.129 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.227e-06/1.412, allocations: 16.55 kB / 1.341 GB, free: 5.129 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/1.414, allocations: 2.102 MB / 1.343 GB, free: 4.469 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008348/1.415, allocations: 358.6 kB / 1.344 GB, free: 4.293 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/1.416, allocations: 40.38 kB / 1.344 GB, free: 4.293 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/1.417, allocations: 90.88 kB / 1.344 GB, free: 4.277 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/1.417, allocations: 99.48 kB / 1.344 GB, free: 4.266 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.278e-05/1.417, allocations: 54 kB / 1.344 GB, free: 4.266 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001115/1.418, allocations: 0.8612 MB / 1.345 GB, free: 4.148 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/1.418, allocations: 2.531 kB / 1.345 GB, free: 4.148 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001575/1.42, allocations: 433.3 kB / 1.345 GB, free: 4.145 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.000597/1.42, allocations: 237 kB / 1.345 GB, free: 4.031 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001874/1.422, allocations: 1.208 MB / 1.347 GB, free: 4.004 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.422, allocations: 3.688 kB / 1.347 GB, free: 4.004 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007079/1.423, allocations: 0.5449 MB / 1.347 GB, free: 3.996 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00402/1.427, allocations: 0.8889 MB / 1.348 GB, free: 3.93 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005892/1.433, allocations: 4.102 MB / 1.352 GB, free: 1.625 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009312/1.434, allocations: 1.371 MB / 1.353 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000684/1.435, allocations: 135.5 kB / 1.353 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of SimCode: time 8.02e-07/1.435, allocations: 0 / 1.353 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of Templates: time 0.04135/1.476, allocations: 25.12 MB / 1.378 GB, free: 15.84 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches