Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007871/0.007871, allocations: 100.7 kB / 15.73 MB, free: 6.035 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.002195/0.002195, allocations: 199.3 kB / 16.67 MB, free: 5.969 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.371/2.371, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.56 kB / 0.9508 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3278, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.956/1.284, allocations: 177.1 MB / 1.261 GB, free: 4.059 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007969/1.292, allocations: 4.388 MB / 1.265 GB, free: 4.031 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/1.293, allocations: 26.53 kB / 1.265 GB, free: 4.031 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001359/1.295, allocations: 373.5 kB / 1.266 GB, free: 4.023 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003734/1.299, allocations: 1.303 MB / 1.267 GB, free: 3.977 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002253/1.301, allocations: 0.6981 MB / 1.268 GB, free: 3.957 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002866/1.304, allocations: 1.623 MB / 1.269 GB, free: 3.957 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009542/1.305, allocations: 0.5298 MB / 1.27 GB, free: 3.93 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/1.306, allocations: 0.705 MB / 1.27 GB, free: 3.926 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/1.308, allocations: 493.2 kB / 1.271 GB, free: 3.926 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001283/1.308, allocations: 54.28 kB / 1.271 GB, free: 3.926 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003215/1.311, allocations: 1.297 MB / 1.272 GB, free: 3.91 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003687/1.311, allocations: 242.7 kB / 1.272 GB, free: 3.91 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006359/1.312, allocations: 347.2 kB / 1.273 GB, free: 3.91 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002932/1.315, allocations: 1.282 MB / 1.274 GB, free: 3.836 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.315, allocations: 0.5 kB / 1.274 GB, free: 3.836 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.175e-06/1.315, allocations: 1.375 kB / 1.274 GB, free: 3.836 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.508e-05/1.315, allocations: 0 / 1.274 GB, free: 3.836 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001878/1.317, allocations: 0.9973 MB / 1.275 GB, free: 3.219 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/1.317, allocations: 9.938 kB / 1.275 GB, free: 3.219 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/1.318, allocations: 175.9 kB / 1.275 GB, free: 3.184 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/1.319, allocations: 0.5588 MB / 1.276 GB, free: 2.918 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.524e-05/1.319, allocations: 33.81 kB / 1.276 GB, free: 2.918 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/1.319, allocations: 47.77 kB / 1.276 GB, free: 2.914 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/1.321, allocations: 465.2 kB / 1.276 GB, free: 2.879 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/1.321, allocations: 2.922 kB / 1.276 GB, free: 2.879 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.929e-05/1.321, allocations: 17.81 kB / 1.276 GB, free: 2.879 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.831e-05/1.321, allocations: 17.19 kB / 1.276 GB, free: 2.879 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008657/1.322, allocations: 421.2 kB / 1.277 GB, free: 2.875 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.002743/1.324, allocations: 2.036 MB / 1.279 GB, free: 1.863 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005163/1.325, allocations: 287.8 kB / 1.279 GB, free: 1.836 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/1.325, allocations: 193.1 kB / 1.279 GB, free: 1.828 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002599/1.325, allocations: 191.1 kB / 1.279 GB, free: 1.641 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/1.325, allocations: 39.31 kB / 1.279 GB, free: 1.602 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 2.053e-06/1.325, allocations: 1.094 kB / 1.279 GB, free: 1.602 MB / 1.014 GB Notification: Performance of matching and sorting (n=30): time 0.00165/1.327, allocations: 0.6404 MB / 1.28 GB, free: 1.434 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/1.327, allocations: 55.12 kB / 1.28 GB, free: 1.371 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004926/1.328, allocations: 450.5 kB / 1.28 GB, free: 1.246 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/1.328, allocations: 33.05 kB / 1.28 GB, free: 1.215 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/1.328, allocations: 281.4 kB / 1.281 GB, free: 1.078 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/1.328, allocations: 102.6 kB / 1.281 GB, free: 1.012 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/1.328, allocations: 64.34 kB / 1.281 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002254/1.328, allocations: 359.1 kB / 1.281 GB, free: 16.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/1.329, allocations: 132.4 kB / 1.281 GB, free: 16.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/1.329, allocations: 208.8 kB / 1.281 GB, free: 16.61 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005912/1.329, allocations: 329.6 kB / 1.282 GB, free: 16.56 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.33, allocations: 1.938 kB / 1.282 GB, free: 16.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008297/1.33, allocations: 405.9 kB / 1.282 GB, free: 16.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/1.33, allocations: 7.031 kB / 1.282 GB, free: 16.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/1.33, allocations: 2.188 kB / 1.282 GB, free: 16.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/1.33, allocations: 3 kB / 1.282 GB, free: 16.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/1.331, allocations: 69.61 kB / 1.282 GB, free: 16.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/1.331, allocations: 7.5 kB / 1.282 GB, free: 16.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004756/1.331, allocations: 38.02 kB / 1.282 GB, free: 16.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/1.331, allocations: 14.36 kB / 1.282 GB, free: 16.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004557/1.332, allocations: 298 kB / 1.283 GB, free: 16.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003213/1.332, allocations: 204 kB / 1.283 GB, free: 16.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00054/1.333, allocations: 329.6 kB / 1.283 GB, free: 16.28 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/1.333, allocations: 1.938 kB / 1.283 GB, free: 16.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0006972/1.333, allocations: 398.4 kB / 1.283 GB, free: 16.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/1.333, allocations: 7.422 kB / 1.283 GB, free: 16.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/1.333, allocations: 1.094 kB / 1.283 GB, free: 16.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.631e-06/1.333, allocations: 3.719 kB / 1.283 GB, free: 16.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/1.334, allocations: 68.44 kB / 1.284 GB, free: 16.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/1.334, allocations: 3.375 kB / 1.284 GB, free: 16.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/1.334, allocations: 45.64 kB / 1.284 GB, free: 16.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/1.334, allocations: 14.88 kB / 1.284 GB, free: 16.2 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (37): * Single equations (assignments): 37 * 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.0001538/1.334, allocations: 198.2 kB / 1.284 GB, free: 16.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.814e-05/1.335, allocations: 48.62 kB / 1.284 GB, free: 16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008752/1.335, allocations: 419.4 kB / 1.284 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/1.335, allocations: 3.641 kB / 1.284 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.335, allocations: 0.7188 kB / 1.284 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007124/1.336, allocations: 445.1 kB / 1.285 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/1.338, allocations: 1.133 MB / 1.286 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/1.338, allocations: 7.266 kB / 1.286 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/1.338, allocations: 59.97 kB / 1.286 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002529/1.339, allocations: 46.38 kB / 1.286 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.319e-05/1.339, allocations: 13.42 kB / 1.286 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/1.34, allocations: 1.534 MB / 1.287 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.34, allocations: 6.812 kB / 1.287 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/1.341, allocations: 0.7002 MB / 1.288 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/1.342, allocations: 162.2 kB / 1.288 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.257e-05/1.342, allocations: 12.12 kB / 1.288 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004145/1.342, allocations: 23.19 kB / 1.288 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.324e-05/1.342, allocations: 28.77 kB / 1.288 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/1.342, allocations: 11.17 kB / 1.288 GB, free: 13.68 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003984/1.343, allocations: 317.4 kB / 1.289 GB, free: 13.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.343, allocations: 0 / 1.289 GB, free: 13.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009581/1.344, allocations: 298.8 kB / 1.289 GB, free: 13.55 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004492/1.344, allocations: 193.6 kB / 1.289 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001004/1.345, allocations: 499.4 kB / 1.29 GB, free: 13.44 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.345, allocations: 2.438 kB / 1.29 GB, free: 13.44 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005022/1.346, allocations: 287.3 kB / 1.29 GB, free: 13.33 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/1.347, allocations: 318.4 kB / 1.29 GB, free: 13.28 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/1.349, allocations: 1.077 MB / 1.291 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005805/1.349, allocations: 0.9 MB / 1.292 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005728/1.35, allocations: 156 kB / 1.292 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/1.35, allocations: 40.78 kB / 1.292 GB, free: 12.09 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/1.35, allocations: 0.625 kB / 1.292 GB, free: 12.09 MB / 1.029 GB Notification: Performance of Templates: time 0.02006/1.37, allocations: 10.26 MB / 1.302 GB, free: 11.57 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches